diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/performance/utils.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/performance/utils.js b/tests/performance/utils.js index 9d6502e8e6..f56380e9c2 100644 --- a/tests/performance/utils.js +++ b/tests/performance/utils.js @@ -22,7 +22,7 @@ function median( array ) { */ function getResultsFilename( fileName ) { const prefix = process.env.TEST_RESULTS_PREFIX; - const fileNamePrefix = prefix ? `${ prefix.split( '=' )[ 1 ] }-` : ''; + const fileNamePrefix = prefix ? `${ prefix }-` : ''; return `${fileNamePrefix + fileName}.results.json`; } |