Skip to content

Commit

Permalink
Transform project dir
Browse files Browse the repository at this point in the history
  • Loading branch information
cb1kenobi committed Jan 9, 2024
1 parent 114ee0d commit 45704a1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -704,7 +704,8 @@ export class CLI {
throw new Error(`Failed to parse --config: ${e.message}`);
}
})
.on('option:config-file', file => this.config.load(file));
.on('option:config-file', file => this.config.load(file))
.on('option:project-dir', dir => program.setOptionValue('projectDir', expand(dir)));

const allCommands = [
...Object.entries(commands),
Expand Down

0 comments on commit 45704a1

Please sign in to comment.