mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00: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…
Reference in New Issue
Block a user