Skip to content

Commit

Permalink
Small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
dmsnell committed Oct 28, 2022
1 parent 316983f commit afa0d47
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/plugin/commands/performance.js
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ async function runPerformanceTests( branches, options ) {

if ( !! options.testsBranch ) {
const branchName = formats.success( options.testsBranch );
log( ` >> Fetching the test branch: ${ branchName }` );
log( ` >> Fetching the test-runner branch: ${ branchName }` );

// @ts-ignore
await SimpleGit( performanceTestDirectory )
Expand Down Expand Up @@ -258,11 +258,11 @@ async function runPerformanceTests( branches, options ) {
await runShellScript( 'mkdir ' + environmentDirectory );
await runShellScript( `cp -R ${ baseDirectory } ${ buildPath }` );

log( ' >> Fetching the ' + formats.success( branch ) + ' ref' );
log( ` >> Fetching the ${ formats.success( branch ) } branch` );
// @ts-ignore
await SimpleGit( buildPath ).reset( 'hard' ).checkout( branch );

log( ' >> Building the ' + formats.success( branch ) + ' ref' );
log( ` >> Building the ${ formats.success( branch ) } branch` );
await runShellScript( 'npm ci && npm run build', buildPath );

await runShellScript(
Expand Down

0 comments on commit afa0d47

Please sign in to comment.