From dc4198918524f31866fb80fb14d07ed1b46c8eae Mon Sep 17 00:00:00 2001 From: Chris Malley Date: Tue, 15 Jan 2019 09:09:24 -0700 Subject: [PATCH 1/2] comment out broken code, https://github.com/phetsims/perennial/issues/120 --- js/grunt/generateConfig.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/grunt/generateConfig.js b/js/grunt/generateConfig.js index 600598cd1..000dc237b 100644 --- a/js/grunt/generateConfig.js +++ b/js/grunt/generateConfig.js @@ -68,5 +68,6 @@ module.exports = async function( repo, relativeFile, launchSuffix ) { // Write to the repository's root directory. grunt.file.write( `../${repo}/${relativeFile}`, configJS ); - await updateCopyrightDate( repo, relativeFile ); + //TOOD https://github.com/phetsims/perennial/issues/120, this causes 'grunt create-sim' to fail + // await updateCopyrightDate( repo, relativeFile ); }; From 68fb1c9277df7b5703065eb06990fe86e09459cf Mon Sep 17 00:00:00 2001 From: samreid Date: Tue, 15 Jan 2019 11:40:18 -0700 Subject: [PATCH 2/2] Fix lint, see https://github.com/phetsims/perennial/issues/120 --- js/grunt/generateConfig.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/js/grunt/generateConfig.js b/js/grunt/generateConfig.js index 000dc237b..c145c0c92 100644 --- a/js/grunt/generateConfig.js +++ b/js/grunt/generateConfig.js @@ -14,7 +14,9 @@ const ChipperStringUtils = require( '../common/ChipperStringUtils' ); const getPhetLibs = require( './getPhetLibs' ); const grunt = require( 'grunt' ); -const updateCopyrightDate = require( './updateCopyrightDate' ); + +//TODO https://github.com/phetsims/perennial/issues/120, this causes 'grunt create-sim' to fail +// const updateCopyrightDate = require( './updateCopyrightDate' ); /** * @param {string} repo @@ -68,6 +70,6 @@ module.exports = async function( repo, relativeFile, launchSuffix ) { // Write to the repository's root directory. grunt.file.write( `../${repo}/${relativeFile}`, configJS ); - //TOOD https://github.com/phetsims/perennial/issues/120, this causes 'grunt create-sim' to fail + //TODO https://github.com/phetsims/perennial/issues/120, this causes 'grunt create-sim' to fail // await updateCopyrightDate( repo, relativeFile ); };