Skip to content

Commit 1e19c1a

Browse files
committed
Fix project & startupProject
1 parent 9b18db2 commit 1e19c1a

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)