File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ function installRequirements() {
44
44
throw new Error ( `${ this . options . pythonBin } not found! ` +
45
45
'Try the pythonBin option.' ) ;
46
46
}
47
- throw new Error ( pipTestRes . error ) ;
47
+ throw pipTestRes . error ;
48
48
}
49
49
if ( pipTestRes . stdout . toString ( ) . indexOf ( '--system' ) >= 0 ) {
50
50
pipCmd . push ( '--system' ) ;
@@ -70,7 +70,7 @@ function installRequirements() {
70
70
'run' , '--rm' ,
71
71
'-v' , `${ bindPath } :/var/task:z` ,
72
72
] ;
73
- if ( this . options . dockerSsh ) {
73
+ if ( this . options . dockerSsh ) {
74
74
// Mount necessary ssh files to work with private repos
75
75
options . push ( '-v' , `${ process . env . HOME } /.ssh/id_rsa:/root/.ssh/id_rsa:z` ) ;
76
76
options . push ( '-v' , `${ process . env . HOME } /.ssh/known_hosts:/root/.ssh/known_hosts:z` ) ;
@@ -100,7 +100,7 @@ function installRequirements() {
100
100
}
101
101
throw new Error ( `${ this . options . pythonBin } not found! Try the pythonBin option.` ) ;
102
102
}
103
- throw new Error ( res . error ) ;
103
+ throw res . error ;
104
104
}
105
105
if ( res . status !== 0 ) {
106
106
throw new Error ( res . stderr ) ;
You can’t perform that action at this time.
0 commit comments