-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
import { join, resolve } from 'node:path'; | ||
import process from 'node:process'; | ||
import { afterAll, beforeAll, it } from 'vitest'; | ||
import fs from 'fs-extra'; | ||
import { execa } from 'execa'; | ||
|
@@ -102,7 +103,9 @@ export default petal( | |
); | ||
`, 'utf-8'); | ||
|
||
await execa({ stdio: 'pipe', cwd: target })`pnpm -c dlx eslint --config ./eslint.config.js . --fix`; | ||
if (process.platform === 'win32') | ||
await execa({ stdio: 'pipe', cwd: target })`npx eslint . --fix`; | ||
Check failure on line 107 in packages/eslint-config/test/fixtures.test.ts GitHub Actions / Build and Test: windows-latest (node@lts/*)test/fixtures.test.ts > js
Check failure on line 107 in packages/eslint-config/test/fixtures.test.ts GitHub Actions / Build and Test: windows-latest (node@lts/*)test/fixtures.test.ts > all
Check failure on line 107 in packages/eslint-config/test/fixtures.test.ts GitHub Actions / Build and Test: windows-latest (node@lts/*)test/fixtures.test.ts > no-style
Check failure on line 107 in packages/eslint-config/test/fixtures.test.ts GitHub Actions / Build and Test: windows-latest (node@lts/*)test/fixtures.test.ts > tab-double-quotes
Check failure on line 107 in packages/eslint-config/test/fixtures.test.ts GitHub Actions / Build and Test: windows-latest (node@lts/*)test/fixtures.test.ts > ts-override
Check failure on line 107 in packages/eslint-config/test/fixtures.test.ts GitHub Actions / Build and Test: windows-latest (node@lts/*)test/fixtures.test.ts > with-formatters
Check failure on line 107 in packages/eslint-config/test/fixtures.test.ts GitHub Actions / Build and Test: windows-latest (node@lts/*)test/fixtures.test.ts > no-markdown-with-formatters
|
||
else await execa({ stdio: 'pipe', cwd: target })`pnpm -c dlx eslint --config ./eslint.config.js . --fix`; | ||
Check failure on line 108 in packages/eslint-config/test/fixtures.test.ts GitHub Actions / Build and Test: ubuntu-latest (node@lts/*)test/fixtures.test.ts > js
|
||
|
||
const files = await fg('**/*', { | ||
ignore: [ | ||
|