Skip to content

Commit 81abb5b

Browse files
author
Matt Lee
committed
+ escape spaces in pathToSails
1 parent 857f272 commit 81abb5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/grunt/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ module.exports = function (sails) {
55
var environment = sails.config.environment;
66
var baseurl = 'http://' + sails.config.host + ':' + sails.config.port;
77
var signalpath = '/___signal';
8-
var pathToSails = __dirname + '/../..';
8+
var pathToSails = __dirname.replace(' ', '\\ ') + '/../..';
99

1010
if (!taskName) {
1111
taskName = '';

0 commit comments

Comments
 (0)