Skip to content

Commit

Permalink
Merge pull request #37 from richardthombs/fix-grunt-on-windows
Browse files Browse the repository at this point in the history
fix: correctly detect when running under grunt on Windows
  • Loading branch information
rafinskipg committed Nov 23, 2015
2 parents 2656d15 + 4205ea4 commit 5f02433
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 5f02433

Please sign in to comment.