Skip to content

Commit

Permalink
fix: env path on unix
Browse files Browse the repository at this point in the history
  • Loading branch information
0x-jerry authored Sep 26, 2024
1 parent 4a68f91 commit d3b0d77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/registryManager/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export abstract class RegistryManager {
}

protected async exec(command: string) {
const result = await run(command, {}, { collectOutput: true, silent: true })
const result = await run(command, process.env, { collectOutput: true, silent: true })

return result.trim()
}
Expand Down

0 comments on commit d3b0d77

Please sign in to comment.