Skip to content

Commit

Permalink
fix: remove redundant code (#9599)
Browse files Browse the repository at this point in the history
  • Loading branch information
Wscats committed Mar 31, 2022
1 parent 428106f commit 6d0f271
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 6d0f271

Please sign in to comment.