File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,8 @@ var path = require('path')
1010 , async = require ( 'async' )
1111 , exec = require ( 'child_process' ) . exec
1212 , spawn = require ( 'child_process' ) . spawn
13+ , os = require ( 'os' )
14+ , isWin = / ^ w i n 3 2 / . test ( os . platform ( ) )
1315 , readline = require ( 'readline' )
1416 , Promise = require ( 'bluebird' )
1517 , singleSeed = true
@@ -117,7 +119,7 @@ function installNPMPackages(projectDir) {
117119 args . push ( '--silent' ) ;
118120 }
119121
120- var proc = spawn ( 'npm' , args , opts )
122+ var proc = spawn ( ! isWin ? 'npm' : 'npm.cmd ', args , opts )
121123 , error = '' ;
122124
123125 if ( ! ! program . verbose ) {
Original file line number Diff line number Diff line change 11{
22 "name" : " cleverstack-cli" ,
33 "description" : " Command line interface for CleverStack" ,
4- "version" : " 1.2.5 " ,
4+ "version" : " 1.2.6 " ,
55 "license" : " MIT" ,
66 "author" : {
77 "name" : " CleverStack" ,
You can’t perform that action at this time.
0 commit comments