Skip to content

Commit

Permalink
use canonical windows detection
Browse files Browse the repository at this point in the history
  • Loading branch information
feross committed Jan 11, 2017
1 parent de722ff commit 216d064
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/cmd.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ var minimist = require('minimist')
var path = require('path')

var STANDARD_CMD = path.join(require.resolve('standard'), '../../.bin/standard')
if (/^win/.test(process.platform)) STANDARD_CMD += '.cmd'
if (process.platform === 'win32') STANDARD_CMD += '.cmd'

var argv = minimist(process.argv.slice(2), {
boolean: [
Expand Down

0 comments on commit 216d064

Please sign in to comment.