File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -115,6 +115,6 @@ export class Simctl implements ISimctl {
115
115
116
116
private simctlExec ( command : string , args : string [ ] , opts ?: any ) : any {
117
117
let fullCommand = ( [ "xcrun" , "simctl" , command ] . concat ( args ) ) . join ( " " ) ;
118
- return childProcess . execSync ( fullCommand , opts ) ;
118
+ return childProcess . execSync ( fullCommand , opts ) . toString ( ) . trim ( ) ;
119
119
}
120
120
}
Original file line number Diff line number Diff line change 1
1
import childProcess = require( "./child-process" ) ;
2
2
3
3
export function getPathFromXcodeSelect ( ) : string {
4
- return childProcess . execSync ( "xcode-select" , [ " -print-path"] ) ;
4
+ return childProcess . execSync ( "xcode-select -print-path" ) . toString ( ) . trim ( ) ;
5
5
}
6
6
7
7
export function getXcodeVersionData ( ) : IXcodeVersionData {
Original file line number Diff line number Diff line change 4
4
"description" : " " ,
5
5
"main" : " ./lib/ios-sim.js" ,
6
6
"scripts" : {
7
+ "prepublish" : " node prepublish.js" ,
7
8
"test" : " echo \" Error: no test specified\" && exit 1"
8
9
},
9
10
"bin" : {
You can’t perform that action at this time.
0 commit comments