Skip to content
Permalink
Browse files
CB-11928 removed jshint from grunt.registerTask because it doesn't wo…
…rk with node6

 This closes #138
  • Loading branch information
audreyso authored and stevengill committed Sep 30, 2016
1 parent 0516fc1 commit fa300933d3866caf8111475d217aea76cc41235b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
@@ -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']);
};
@@ -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

0 comments on commit fa30093

Please sign in to comment.