Skip to content

Commit

Permalink
Merge pull request #325 from phase2/324-abs-path
Browse files Browse the repository at this point in the history
Use absolute path to HTML build directory.
  • Loading branch information
grayside authored Aug 31, 2017
2 parents 7510d31 + 9e06bf6 commit daedab8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/drupal.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ module.exports = function(grunt) {
}

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

0 comments on commit daedab8

Please sign in to comment.