Skip to content

Commit daedab8

Browse files
authored
Merge pull request #325 from phase2/324-abs-path
Use absolute path to HTML build directory.
2 parents 7510d31 + 9e06bf6 commit daedab8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/drupal.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ module.exports = function(grunt) {
1212
}
1313

1414
// Using direct spawn functionality to capture stdout.
15-
grunt.util.spawn({cmd: module.drushPath(), args: ['-r', grunt.config('config.buildPaths.html'), 'status', '--format=json']}, function(error, result, code) {
15+
grunt.util.spawn({cmd: module.drushPath(), args: ['-r', path.resolve(grunt.config('config.buildPaths.html')), 'status', '--format=json']}, function(error, result, code) {
1616
var json = null;
1717
if (error) {
1818
grunt.log.writeln('drush status failed with code ' + code);

0 commit comments

Comments
 (0)