From ca5ce75cce41e4fc62354dee89c1d89d3d845392 Mon Sep 17 00:00:00 2001 From: Sam Reid Date: Tue, 17 Sep 2024 14:08:47 -0600 Subject: [PATCH] Fix paths, see https://github.com/phetsims/chipper/issues/1459 --- js/grunt/tasks/compare-phet-io-api.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/grunt/tasks/compare-phet-io-api.ts b/js/grunt/tasks/compare-phet-io-api.ts index e07efd39b..4aaa88aee 100644 --- a/js/grunt/tasks/compare-phet-io-api.ts +++ b/js/grunt/tasks/compare-phet-io-api.ts @@ -36,7 +36,7 @@ let proposedAPIs: Record | null = null; } else { - const Transpiler = require( '../common/Transpiler' ); + const Transpiler = require( '../../common/Transpiler' ); const transpiler = new Transpiler( { silent: true } ); transpiler.transpileAll(); @@ -54,7 +54,7 @@ let proposedAPIs: Record | 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' ); } )(); \ No newline at end of file