Permalink
Browse files

Fix windows paths for coveraje

  • Loading branch information...
1 parent 2f6872d commit cb8674f32225c2ee59260674103033dc0ec9ac22 @WolfgangKluge WolfgangKluge committed Aug 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 grunt.js
View
2 grunt.js
@@ -77,7 +77,7 @@ module.exports = function (grunt) {
}
var c = coveraje.cover(
- "var jshint = require(require('path').join('" + __dirname + "', 'src', 'jshint.js'));",
+ "var jshint = require(require('path').join('" + __dirname.replace(/\\/g, "\\\\") + "', 'src', 'jshint.js'));",
tests,
{
useServer: useServer,

2 comments on commit cb8674f

@valueof
JSHint member

For future commits, please write a short description of why you're changing something and—if implementation is tricky—how. Examples: 34b640b and 9cfb2fe.

@WolfgangKluge

Sorry. I had created a comment on the line (and forgot to mention it in the commit message)
4aee3b8#grunt-js-P51

Please sign in to comment.