Skip to content

Commit 7f5137d

Browse files
committed
fix(core): default project is not set correctly
1 parent 34e74b4 commit 7f5137d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/nx/src/command-line/run-one.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@ function parseRunOneOptions(
100100
);
101101
// this is to account for "nx npmsript:dev"
102102
if (project && !target && defaultProjectName) {
103-
project = defaultProjectName;
104103
target = project;
104+
project = defaultProjectName;
105105
}
106106
} else {
107107
target = parsedArgs['project:target:configuration'];

0 commit comments

Comments
 (0)