Skip to content
Browse files

Test platform properly for 'shell' setting

  • Loading branch information...
1 parent 62cea7c commit 1aaf566b3d51a6485fe28f45134367c4b88cd13b @isaacs isaacs committed Nov 22, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/utils/config-defs.js
View
2 lib/utils/config-defs.js
@@ -178,7 +178,7 @@ Object.defineProperty(exports, "defaults", {get: function () {
, save : false
, searchopts: ""
, searchexclude: null
- , shell : process.env.platform === "win32"
+ , shell : process.platform === "win32"
? process.env.ComSpec || "cmd"
: process.env.SHELL || "bash"
, "strict-ssl": true

0 comments on commit 1aaf566

Please sign in to comment.
Something went wrong with that request. Please try again.