Skip to content

Commit

Permalink
fix: windows compat
Browse files Browse the repository at this point in the history
  • Loading branch information
aladdin-add committed Aug 30, 2022
1 parent d4e9c05 commit 48eb7ec
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Makefile.js
Expand Up @@ -78,7 +78,12 @@ const NODE = "node ", // intentional extra space
TEST_FILES = "\"tests/{bin,conf,lib,tools}/**/*.js\"",
PERF_ESLINTRC = path.join(PERF_TMP_DIR, "eslint.config.js"),
PERF_MULTIFILES_TARGET_DIR = path.join(PERF_TMP_DIR, "eslint"),
PERF_MULTIFILES_TARGETS = `"${PERF_MULTIFILES_TARGET_DIR + path.sep}{lib,tests${path.sep}lib}${path.sep}**${path.sep}*.js"`,

/*
* glob arguments with Windows separator `\` don't work:
* https://github.com/eslint/eslint/issues/16259
*/
PERF_MULTIFILES_TARGETS = `"${TEMP_DIR}/eslint/performance/eslint/{lib,tests/lib}/**/*.js"`,

// Settings
MOCHA_TIMEOUT = parseInt(process.env.ESLINT_MOCHA_TIMEOUT, 10) || 10000;
Expand Down

0 comments on commit 48eb7ec

Please sign in to comment.