Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanolson committed Jul 6, 2018
1 parent 5f52de3 commit 5937eed
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions js/grunt/requirejsBuild.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,6 @@ var assert = require( 'assert' );
module.exports = function( grunt, buildConfig ) {
'use strict';

// Validate phet-io brand naming, see https://github.com/phetsims/chipper/issues/504
if ( buildConfig.brand === 'phet-io' ) {
assert( buildConfig.version.indexOf( 'phetio' ) >= 0, 'phet-io branded things must have phetio in the string so they will be ' +
'properly dealt with on build-server' );
}

if ( buildConfig.brand === 'phet' ) {
assert( buildConfig.version.indexOf( 'phetio' ) === -1, 'phet versions cannot be named like phet-io versions' );
}
Expand Down

0 comments on commit 5937eed

Please sign in to comment.