diff --git a/lib/drupal.js b/lib/drupal.js index 2162b8ba..20a8ec6f 100644 --- a/lib/drupal.js +++ b/lib/drupal.js @@ -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);