diff --git a/src/run-tester.ts b/src/run-tester.ts index 862fcb4..82b31d9 100644 --- a/src/run-tester.ts +++ b/src/run-tester.ts @@ -48,7 +48,7 @@ module.exports = { const CONFIGURATION_TEMPLATE_TS = (pathToUsersConfiguration: string) => `// Generated by eslint-remote-tester-run-action -import fs from 'fs'; +import * as fs from 'fs'; import type { Config } from 'eslint-remote-tester'; // Load user's eslint-remote-tester.config.ts diff --git a/test/run-tester.test.ts b/test/run-tester.test.ts index 7d8bf5e..8f14e21 100644 --- a/test/run-tester.test.ts +++ b/test/run-tester.test.ts @@ -105,7 +105,7 @@ describe('run-tester', () => { expect(sanitizeStackTrace(configContents)).toMatchInlineSnapshot(` "// Generated by eslint-remote-tester-run-action - import fs from 'fs'; + import * as fs from 'fs'; import type { Config } from 'eslint-remote-tester'; // Load user's eslint-remote-tester.config.ts