Skip to content
This repository

fixes grunt file path with spaces issue #873

Merged
merged 1 commit into from about 1 year ago

2 participants

Felipe Sabino Sindre Sorhus
Felipe Sabino

Fixes https://github.com/yeoman/express-stack/issues/12

Issue happens when grunt creates symbolic links path for generators and the it contains spaces

Sindre Sorhus sindresorhus merged commit a3611a9 into from January 28, 2013
Sindre Sorhus sindresorhus closed this January 28, 2013
Harri Hälikkä harriha referenced this pull request in gmarty/grunt-closure-compiler March 30, 2013
Open

CLOSURE_PATH location issues on Win7 #14

Felipe Sabino felipesabino deleted the branch July 25, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Jan 26, 2013
Felipe Sabino fixes grunt file path with spaces issue 40d00db
This page is out of date. Refresh to see the latest.

Showing 1 changed file with 3 additions and 3 deletions. Show diff stats Hide diff stats

  1. 6  grunt.js
6  grunt.js
@@ -6,8 +6,8 @@ module.exports = function( grunt ) {
6 6
 
7 7
   grunt.loadNpmTasks('grunt-shell');
8 8
 
9  
-  var angularcrudPath = path.resolve('./generators/angularcrud');
10  
-  var expressPath = path.resolve('./generators/express');
  9
+  var angularcrudPath = path.resolve('./generators/angularcrud').replace(" ", "\\ ");
  10
+  var expressPath = path.resolve('./generators/express').replace(" ", "\\ ");
11 11
 
12 12
   grunt.initConfig({
13 13
     shell: {
@@ -49,4 +49,4 @@ module.exports = function( grunt ) {
49 49
 
50 50
   // Disable lint for now until we upgrade to latest grunt with latest jshint
51 51
   grunt.registerTask('install', ['shell:npmYeoman', 'shell:npmDemo', 'shell:linkAngularcrud', 'shell:linkExpress', 'shell:promptAddPath']);
52  
-};
  52
+};
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.