Skip to content
Permalink
Browse files
Chore: fix counting of files in performance test (#15190)
  • Loading branch information
mdjermanovic committed Oct 21, 2021
1 parent 1b87fa8 commit 31af1c8770c7dac9e9686a0549af329abe5a795b
Showing with 6 additions and 3 deletions.
  1. +6 −3 Makefile.js
@@ -1100,9 +1100,12 @@ target.perf = function() {

// Count test target files.
const count = glob.sync(
process.platform === "win32"
? PERF_MULTIFILES_TARGETS.slice(2).replace(/\\/gu, "/")
: PERF_MULTIFILES_TARGETS
(
process.platform === "win32"
? PERF_MULTIFILES_TARGETS.replace(/\\/gu, "/")
: PERF_MULTIFILES_TARGETS
)
.slice(1, -1) // strip quotes
).length;

runPerformanceTest(

0 comments on commit 31af1c8

Please sign in to comment.