Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

on iojs 1.6.0, task does not complete #196

Closed
scottnonnenberg opened this issue Mar 19, 2015 · 0 comments · Fixed by #197
Closed

on iojs 1.6.0, task does not complete #196

scottnonnenberg opened this issue Mar 19, 2015 · 0 comments · Fixed by #197

Comments

@scottnonnenberg
Copy link
Contributor

grunt-contrib-jshint@0.10.0
jshint@2.5.11

TypeError: Path must be a string. Received null
  at assertPath (path.js:8:11)
  at Object.posix.dirname (path.js:539:3)
  at Object.exports.lint (node_modules/thehelp-project/node_modules/grunt-contrib-jshint/tasks/lib/jshint.js:158:36)
  at Object.<anonymous> (node_modules/thehelp-project/node_modules/grunt-contrib-jshint/tasks/jshint.js:44:12)

This is starting from line 20 in tasks/jshint.js:

    // Merge task-specific and/or target-specific options with these defaults.
    var options = this.options({
      force: false,
      reporterOutput: null, // <-- NULL
    });

    // Report JSHint errors but dont fail the task
    var force = options.force;
    delete options.force;

    // Whether to output the report to a file
    var reporterOutput = options.reporterOutput;

Likely due to this change: nodejs/node#1153

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant