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 || [] ); }