Skip to content

Commit

Permalink
Also compareBreakingAPIChanges, see #1325
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Feb 21, 2023
1 parent ea11603 commit 6b22854
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion js/scripts/hook-pre-commit-task.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,9 @@ const repo = getArg( 'repo' );
showMessagesFromSim: false
} );

const phetioAPIComparisonSuccessful = await phetioCompareAPISets( reposToTest, proposedAPIs, {} );
const phetioAPIComparisonSuccessful = await phetioCompareAPISets( reposToTest, proposedAPIs, {
compareBreakingAPIChanges: true
} );

if ( phetioAPIComparisonSuccessful ) {
reposToTest.forEach( repo => CacheLayer.onSuccess( getCacheKey( repo ) ) );
Expand Down

0 comments on commit 6b22854

Please sign in to comment.