From 51b15cb6ff9206567c3a609a419b9e46eb2b71d4 Mon Sep 17 00:00:00 2001 From: zepumph Date: Thu, 3 Oct 2019 15:04:41 -0800 Subject: [PATCH] only log errors, https://github.com/phetsims/chipper/issues/801 --- js/grunt/phet-io/generatePhetioAPIFiles.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/grunt/phet-io/generatePhetioAPIFiles.js b/js/grunt/phet-io/generatePhetioAPIFiles.js index 83abd1b07..28821547c 100644 --- a/js/grunt/phet-io/generatePhetioAPIFiles.js +++ b/js/grunt/phet-io/generatePhetioAPIFiles.js @@ -56,8 +56,8 @@ module.exports = async ( repo, localTestingURL ) => { receivedTypes = true; await resolved(); } - else { - console.log( msg.text() ); + else if ( msg.type() === 'error' ) { + console.error( msg.text() ); } } );