Skip to content

Commit 37a9ccb

Browse files
authored
Merge pull request #112 from badsyntax/feature/configure
Fix project & startupProject
2 parents 87b3891 + 1e19c1a commit 37a9ccb

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/cli/CLI.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,11 @@ export class CLI {
5151

5252
const paramsWithDefaults = {
5353
...paramsWithStartupProject,
54-
project,
55-
startupProject,
54+
...(project &&
55+
startupProject && {
56+
project,
57+
startupProject,
58+
}),
5659
};
5760

5861
const interpolatedArgs = this.getInterpolatedArgs(

0 commit comments

Comments
 (0)