Skip to content

Commit

Permalink
fix: fixed options
Browse files Browse the repository at this point in the history
  • Loading branch information
KernelPanic92 authored Jun 5, 2024
1 parent 15e08b2 commit 4211431
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@ const argv = await yargs(hideBin(process.argv))
.option('cwd', {
alias: ['c', 'cwd'],
string: true,
description: 'Specify manually the DOTENV_KEY to decrypt .env.vault',
description: 'Specify manually the cwd (Current Working Directory)',
})
.help().argv;

// Kill all dotenv logs 🏴‍☠️
console.log = () => null;

const dotenvRun = env({
cwd: process.cwd(),
cwd: argv.cwd ?? process.cwd(),
prefix: argv.prefix,
root: argv.root,
files: argv.files,
Expand Down

0 comments on commit 4211431

Please sign in to comment.