Skip to content

Commit

Permalink
Env check
Browse files Browse the repository at this point in the history
  • Loading branch information
manquer committed Sep 16, 2024
1 parent 435cf7d commit c8b0464
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions src/env.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ export async function setup(prefix: string): Promise<void> {
const env = reduce(res, (acc, i) => `${acc}${i}`)
const current = process.env.GITHUB_ENV
process.env.GITHUB_ENV = `${current}${env}`
console.log(Object.keys(process.env))
}
1 change: 0 additions & 1 deletion src/kv.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ export class KeyVaultClient {
core.info(`fetching... ${k}`)
const secret: KeyVaultSecret = await this.#client.getSecret(`${prefix}-${k}`)
value = get(secret, 'value')
core.info(value)
if (!value) throw new Error(`Secret ${k} not found in service ${prefix}`)
this.#keys = set(this.#keys, key, value)
}
Expand Down

0 comments on commit c8b0464

Please sign in to comment.