Skip to content

Commit

Permalink
fix: remove redundant code (nrwl#9599)
Browse files Browse the repository at this point in the history
  • Loading branch information
Wscats authored and sidmonta committed Apr 2, 2022
1 parent 516a6bd commit 5db93a4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/nx/src/command-line/run-one.ts
Expand Up @@ -153,8 +153,6 @@ function calculateDefaultProjectName(
}
return (
(workspaceConfiguration.cli as { defaultProjectName: string })
?.defaultProjectName ||
workspaceConfiguration.defaultProject ||
workspaceConfiguration.defaultProject
?.defaultProjectName || workspaceConfiguration.defaultProject
);
}

0 comments on commit 5db93a4

Please sign in to comment.