Skip to content

Commit

Permalink
fix: assignment to const
Browse files Browse the repository at this point in the history
  • Loading branch information
entropitor committed Mar 9, 2024
1 parent 4fc25ee commit e794d3e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,9 @@ paths.forEach(function (env) {
Object.assign(process.env, parsedVariables)

if (argv.p) {
const value = process.env[argv.p]
let value = process.env[argv.p]
if (typeof value === 'string') {
value = `\`${value}\``
value = `${value}`
}
console.log(value != null ? value : '')
process.exit()
Expand Down

0 comments on commit e794d3e

Please sign in to comment.