Skip to content

Commit

Permalink
Use absolute path to HTML build directory.
Browse files Browse the repository at this point in the history
- Fixes #324
  • Loading branch information
jhedstrom committed Aug 28, 2017
1 parent 7510d31 commit 9e06bf6
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 9e06bf6

Please sign in to comment.