Skip to content

Commit

Permalink
Update formatting, see #785
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Aug 7, 2019
1 parent addabec commit 97384e7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion js/grunt/phet-io/copySupplementalPhetioFiles.js
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,11 @@ module.exports = async function( repo, version, simulationDisplayName, packageOb
wrappers.push( WRAPPER_COMMON_FOLDER );

// Add sim-specific wrappers
const simSpecificWrappers = packageObject.phet && packageObject.phet[ 'phet-io' ] && packageObject.phet[ 'phet-io' ].wrappers ? packageObject.phet[ 'phet-io' ].wrappers : [];
const simSpecificWrappers = packageObject.phet &&
packageObject.phet[ 'phet-io' ] &&
packageObject.phet[ 'phet-io' ].wrappers ?
packageObject.phet[ 'phet-io' ].wrappers : [];

simSpecificWrappers.forEach( simSpecificWrapper => wrappers.push( simSpecificWrapper ) );

wrappers.forEach( function( wrapper ) {
Expand Down

0 comments on commit 97384e7

Please sign in to comment.