Skip to content

Commit

Permalink
CB-11928 removed jshint from grunt.registerTask because it doesn't wo…
Browse files Browse the repository at this point in the history
…rk with node6

 This closes #138
  • Loading branch information
audreyso authored and stevengill committed Sep 30, 2016
1 parent 0516fc1 commit fa30093
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
10 changes: 5 additions & 5 deletions Gruntfile.js
Expand Up @@ -66,10 +66,10 @@ module.exports = function(grunt) {

// defaults
grunt.registerTask('default', ['build', 'test']);
grunt.registerTask('build', ['compile', 'jshint', 'whitespace-check']);
grunt.registerTask('test', ['compile:test', 'jshint', '_test']);
grunt.registerTask('btest', ['compile:test', 'jshint', '_btest']);
grunt.registerTask('build', ['compile', 'whitespace-check']);
grunt.registerTask('test', ['compile:test', '_test']);
grunt.registerTask('btest', ['compile:test', '_btest']);
grunt.registerTask('cover', ['compile', '_cover']);
grunt.registerTask('test-browserify', ['compile-browserify:test', 'jshint', '_test']);
grunt.registerTask('btest-browserify', ['compile-browserify:test', 'jshint', '_btest']);
grunt.registerTask('test-browserify', ['compile-browserify:test', '_test']);
grunt.registerTask('btest-browserify', ['compile-browserify:test', '_btest']);
};
1 change: 0 additions & 1 deletion tasks/lib/bundle.js
Expand Up @@ -33,7 +33,6 @@ module.exports = function bundle(platform, debug, commitId, platformVersion, pla

//check to see if platform has cordova-js-src directory
if(fs.existsSync(platformPath) && fs.existsSync(path.join(platformPath, 'cordova-js-src'))) {
console.log(platformPath);
copyProps(modules, collectFiles(path.join(platformPath, 'cordova-js-src')));
} else {
// for platforms that don't have a release with cordova-js-src yet
Expand Down

0 comments on commit fa30093

Please sign in to comment.