mirror of
git://develop.git.wordpress.org/
synced 2025-04-13 08:32:10 +02:00
Build/Test Tools: Fix file prefix handling in performance test results.
This is a follow-up to r56926. See #59517. git-svn-id: https://develop.svn.wordpress.org/trunk@56928 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
64190e8c3e
commit
cadf7128e9
@ -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`;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user