diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 64a5c33..9358985 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,7 +14,7 @@ jobs: - name: Setup PNPM uses: pnpm/action-setup@v2.4.0 with: - version: 7.27.1 + version: 8.12.1 - name: Setup Node.js uses: actions/setup-node@v4 with: diff --git a/src/services/cfg/index.ts b/src/services/cfg/index.ts index 2b3da04..f80e220 100644 --- a/src/services/cfg/index.ts +++ b/src/services/cfg/index.ts @@ -143,7 +143,7 @@ export class CfgModule { } else if (options.yaml || ext === ".yaml" || ext === ".yml") { await this.secret(yaml.parse(value) as Secrets); } else { - await this.secret(dotenv.parse(file)); + await this.secret(dotenv.parse(value)); } }); secret