Skip to content

Commit

Permalink
AC-2783:Upgrade strip-json-comments library to the latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
glo17680 committed Aug 7, 2023
1 parent 0a834cc commit d1b4d75
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions dev/tests/js/jasmine/spec_runner/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ var tasks = [],

function init(grunt, options) {
var _ = require('underscore'),
stripJsonComments = require('strip-json-comments'),
stripComments = require('strip-comments'),
path = require('path'),
config,
themes,
file;

config = grunt.file.read(__dirname + '/settings.json');
config = stripJsonComments(config);
config = stripComments(config);
config = JSON.parse(config);

themes = require(path.resolve(process.cwd(), config.themes));
Expand Down
2 changes: 1 addition & 1 deletion package.json.sample
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"path": "~0.12.7",
"serve-static": "~1.15.0",
"squirejs": "~0.2.1",
"strip-json-comments": "~3.1.1",
"strip-comments": "~2.0.1",
"time-grunt": "~2.0.0",
"underscore": "1.13.3"
}
Expand Down

0 comments on commit d1b4d75

Please sign in to comment.