File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
packages/plugin-eslint/src/lib/runner Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ async function executeLint({
4545 ...( typeof eslintrc === 'object' ? [ '--no-eslintrc' ] : [ ] ) ,
4646 '--no-error-on-unmatched-pattern' ,
4747 '--format=json' ,
48- `--output-file=${ outputFile } ` ,
48+ `--output-file=${ filePathToCliArg ( outputFile ) } ` ,
4949 ...toArray ( patterns ) . map ( pattern =>
5050 // globs need to be escaped on Unix
5151 platform ( ) === 'win32' ? pattern : `'${ pattern } '` ,
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import { lint } from './lint.js';
1111 * - With number: eslint-report-123.json (with dash and digits)
1212 */
1313const ESLINT_REPORT_FILENAME_PATTERN =
14- / - - o u t p u t - f i l e = \. c o d e - p u s h u p \/ e s l i n t \/ e s l i n t - r e p o r t (?: - \d + ) ? \. j s o n / ;
14+ / - - o u t p u t - f i l e = " \. c o d e - p u s h u p \/ e s l i n t \/ e s l i n t - r e p o r t (?: - \d + ) ? \. j s o n " / ;
1515
1616class MockESLint {
1717 calculateConfigForFile = vi . fn ( ) . mockImplementation (
You can’t perform that action at this time.
0 commit comments