Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 47ba601

Browse files
sgrebnovpetebacondarwin
authored andcommitted
fix(doc-gen): Run Gulp on Windows too
Using node_module/.bin/gulp will enable to gulp command to run both on Windows and Linux. In its current form, the default action of executing a Javascript file on Windows does not use node. Requires quotes around the command to correctly resolve path on Windows Closes #6346
1 parent 1bebe36 commit 47ba601

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/grunt/plugins.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ module.exports = function(grunt) {
3535

3636

3737
grunt.registerTask('docs', 'create angular docs', function(){
38-
var gruntProc = shelljs.exec('node_modules/gulp/bin/gulp.js --gulpfile docs/gulpfile.js');
38+
var gruntProc = shelljs.exec('"node_modules/.bin/gulp" --gulpfile docs/gulpfile.js');
3939
if (gruntProc.code !== 0) {
4040
throw new Error('doc generation failed');
4141
}

0 commit comments

Comments
 (0)