Skip to content

Commit

Permalink
fix: correctly detect when running under grunt on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard Thombs committed Oct 14, 2015
1 parent 2656d15 commit 4205ea4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/command.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ var _ = require('lodash');
var options = _.defaults({}, defaults);


if (process.argv.join('').indexOf('/grunt') === -1) {
if (process.argv.join('').replace(/\\/g,'/').indexOf('/grunt') === -1) {

program
.version('0.1.7')
Expand Down

0 comments on commit 4205ea4

Please sign in to comment.