Skip to content

Commit

Permalink
fix: format
Browse files Browse the repository at this point in the history
  • Loading branch information
lodmfjord committed Jun 14, 2024
1 parent 2db3780 commit 1f7f1e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/ci/nx/nx.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { IS_PULLREQUEST } from "./_const.mjs";
import { NxAgents } from "./_nx_agent.mjs";
import { hasGitChanges, runNxAffected } from "./_utils.mjs";
import { hasGitChanges, runNxCommand } from "./_utils.mjs";

console.log(IS_PULLREQUEST ? 'Running in pull request mode' : 'Running in push mode');
console.log('Starting agents');
Expand All @@ -10,7 +10,7 @@ if (IS_PULLREQUEST) {
// If this is a pull request we want to start by formatting
// and exiting early on changes
console.log(`Running format:write`);
await runNxAffected('format:write');
await runNxCommand('format:write');
console.log(`Done format:write`);
if (await hasGitChanges()) {
console.log('Changes detected after formatting, exiting');
Expand Down

0 comments on commit 1f7f1e6

Please sign in to comment.