Skip to content

Commit

Permalink
testing
Browse files Browse the repository at this point in the history
  • Loading branch information
jon77p committed Dec 30, 2023
1 parent f57d7e3 commit e490071
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions cdktf/secrets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,15 @@ import { Construct } from "constructs";
function Setup1Password(scope: Construct) {

Check warning on line 7 in cdktf/secrets.ts

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

cdktf/secrets.ts#L7

expected call-signature: 'Setup1Password' to have a typedef

Check warning on line 7 in cdktf/secrets.ts

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

cdktf/secrets.ts#L7

non-arrow functions are forbidden
const opPath = "tools/op"

Check notice on line 8 in cdktf/secrets.ts

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

cdktf/secrets.ts#L8

Insert `;`
const install = new localExec.LocalExec(scope, "1password-install", {
cwd: "tools",
cwd: ".",
command: `ARCH="amd64"; \
OP_VERSION="v$(curl https://app-updates.agilebits.com/check/1/0/CLI2/en/2.0.0/N -s | grep -Eo '[0-9]+\.[0-9]+\.[0-9]+')"; \

Check warning on line 12 in cdktf/secrets.ts

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

cdktf/secrets.ts#L12

Unnecessary escape character: \..
curl -sSfo op.zip \
https://cache.agilebits.com/dist/1P/op2/pkg/"$OP_VERSION"/op_linux_"$ARCH"_"$OP_VERSION".zip \
&& unzip -od . op.zip \
&& mkdir -p tools \
&& unzip -od tools op.zip \
&& rm op.zip \
&& chmod 0755 op \
&& chmod 0755 tools/op \
&& export PATH="$PATH:$(pwd)/tools" \
&& echo $PATH \
&& op --version`

Check notice on line 21 in cdktf/secrets.ts

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

cdktf/secrets.ts#L21

Insert `,`

Check warning on line 21 in cdktf/secrets.ts

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

cdktf/secrets.ts#L21

Missing trailing comma
Expand Down

0 comments on commit e490071

Please sign in to comment.