diff --git a/js/grunt/tasks/compare-phet-io-api.ts b/js/grunt/tasks/compare-phet-io-api.ts index f30e0d62..eab21c19 100644 --- a/js/grunt/tasks/compare-phet-io-api.ts +++ b/js/grunt/tasks/compare-phet-io-api.ts @@ -62,7 +62,7 @@ const needsTranspile = isOptionKeyProvided( 'transpile' ) ? getOption( 'transpil } const ok = await phetioCompareAPISets( sims, proposedAPIs, options ); if ( !ok ) { - console.error( 'PhET-iO API comparison failed' ); + console.log( 'PhET-iO API comparison failed' ); process.exit( 1 ); } diff --git a/js/grunt/tasks/lint-all.ts b/js/grunt/tasks/lint-all.ts index 39dc8b49..77bc8e69 100644 --- a/js/grunt/tasks/lint-all.ts +++ b/js/grunt/tasks/lint-all.ts @@ -26,7 +26,7 @@ export const lintAllPromise = ( async () => { // Output results on errors. if ( !lintSuccess ) { - console.error( 'Lint failed' ); + console.log( 'Lint failed' ); process.exit( 1 ); } else { diff --git a/js/phet-io/phetioCompareAPISets.ts b/js/phet-io/phetioCompareAPISets.ts index 2859ffed..54a7da31 100644 --- a/js/phet-io/phetioCompareAPISets.ts +++ b/js/phet-io/phetioCompareAPISets.ts @@ -50,16 +50,16 @@ export default async ( repos: string[], proposedAPIs: PhetioAPIs, providedOption if ( comparisonData.breakingProblems.length ) { ok = false; - console.error( `${repo} BREAKING PROBLEMS` ); - console.error( comparisonData.breakingProblems.join( '\n' ) ); - console.error( '\n' ); + console.log( `${repo} BREAKING PROBLEMS` ); + console.log( comparisonData.breakingProblems.join( '\n' ) ); + console.log( '\n' ); } if ( comparisonData.designedProblems.length ) { ok = false; - console.error( `${repo} DESIGN PROBLEMS` ); - console.error( comparisonData.designedProblems.join( '\n' ) ); - console.error( '\n' ); + console.log( `${repo} DESIGN PROBLEMS` ); + console.log( comparisonData.designedProblems.join( '\n' ) ); + console.log( '\n' ); } if ( options.delta ) {