Skip to content

Commit

Permalink
Fix paths, see #1459
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Sep 17, 2024
1 parent 572fdaa commit ca5ce75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/grunt/tasks/compare-phet-io-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ let proposedAPIs: Record<string, string> | null = null;
}
else {

const Transpiler = require( '../common/Transpiler' );
const Transpiler = require( '../../common/Transpiler' );
const transpiler = new Transpiler( { silent: true } );

transpiler.transpileAll();
Expand All @@ -54,7 +54,7 @@ let proposedAPIs: Record<string, string> | null = null;
if ( getOption( 'compareBreakingAPIChanges' ) ) {
options.compareBreakingAPIChanges = getOption( 'compareBreakingAPIChanges' );
}
const ok = await require( '../phet-io/phetioCompareAPISets' )( sims, proposedAPIs, options );
const ok = await require( '../../phet-io/phetioCompareAPISets' )( sims, proposedAPIs, options );
!ok && grunt.fail.fatal( 'PhET-iO API comparison failed' );

} )();

0 comments on commit ca5ce75

Please sign in to comment.