From 8882e6a828f0cb9f23add16c570df7962cb77d57 Mon Sep 17 00:00:00 2001 From: samreid Date: Mon, 5 Aug 2019 17:14:41 -0600 Subject: [PATCH] Hopeful fix, see https://github.com/phetsims/chipper/issues/785 --- js/grunt/getPhetLibs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/grunt/getPhetLibs.js b/js/grunt/getPhetLibs.js index 9f428d552..74e6504ba 100644 --- a/js/grunt/getPhetLibs.js +++ b/js/grunt/getPhetLibs.js @@ -69,7 +69,7 @@ module.exports = function getPhetLibs( repo, brand ) { } // wrappers are also marked as phetLibs, so we can get their shas without listing them twice - if ( brand === 'phet-io' ) { + if ( brand === 'phet-io' && packageObject.phet[ brand ] ) { phetLibs = phetLibs.concat( packageObject.phet[ brand ].wrappers || [] ); }