Skip to content

Commit

Permalink
fix(core): prettier 3 shouldn't cause errors due to v8 compile cache
Browse files Browse the repository at this point in the history
  • Loading branch information
guysenpai committed Sep 8, 2023
1 parent ca3fd3c commit 2642283
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/nx/bin/nx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ function main() {
workspace &&
workspace.type === 'nx' &&
!['format', 'format:check', 'format:write', 'g', 'generate'].some(
(cmd) => process.argv[3] === cmd
(cmd) => process.argv[2] === cmd
)
) {
require('v8-compile-cache');
Expand Down

0 comments on commit 2642283

Please sign in to comment.