Skip to content

Commit c150f77

Browse files
committed
Use npx ultracite to resolve locally first
1 parent 47d6c83 commit c150f77

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/app/lib/steps/fix-lint.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export async function fixLint(sandboxId: string): Promise<FixLintResult> {
1919
}
2020

2121
const result = await sandbox
22-
.runCommand("nlx", ["ultracite", "fix"])
22+
.runCommand("npx", ["ultracite", "fix"])
2323
.catch((error: unknown) => {
2424
throw new Error(`Failed to run ultracite fix: ${parseError(error)}`);
2525
});
@@ -40,7 +40,7 @@ export async function fixLint(sandboxId: string): Promise<FixLintResult> {
4040

4141
// Run check to see if there are remaining issues (non-zero exit = issues remain)
4242
const checkResult = await sandbox
43-
.runCommand("nlx", ["ultracite", "check"])
43+
.runCommand("npx", ["ultracite", "check"])
4444
.catch((error: unknown) => {
4545
throw new Error(`Failed to run ultracite check: ${parseError(error)}`);
4646
});

0 commit comments

Comments
 (0)