Skip to content

Commit

Permalink
Fix lint error.
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew W. Harn <[email protected]>
  • Loading branch information
awharn committed Nov 5, 2024
1 parent 9b20a2b commit 39d34aa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions __tests__/__packages__/cli-test-utils/src/TestUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ export function runCliScript(scriptPath: string, testEnvironment: ITestEnvironme
env: childEnv,
encoding: "buffer"
});
// eslint-disable-next-line @typescript-eslint/no-magic-numbers
if (process.platform === "darwin" && (response.error as ExecFileException)?.errno === -8) {
throw new Error(`The script file ${path.basename(scriptPath)} failed to execute. Check that it starts with a shebang line.`);
}
Expand Down

0 comments on commit 39d34aa

Please sign in to comment.