File tree 2 files changed +12
-0
lines changed
2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -204,6 +204,12 @@ try {
204
204
} ) ;
205
205
206
206
} catch ( error ) {
207
+
208
+ if ( error . code == 'ENOENT' ) {
209
+ console . log ( `The '${ error . path } ' executable could not be found. Please make sure it is on your PATH and/or the necessary packages are installed.` ) ;
210
+ console . log ( `PATH is set to: ${ process . env . PATH } ` ) ;
211
+ }
212
+
207
213
core . setFailed ( error . message ) ;
208
214
}
209
215
Original file line number Diff line number Diff line change 87
87
} ) ;
88
88
89
89
} catch ( error ) {
90
+
91
+ if ( error . code == 'ENOENT' ) {
92
+ console . log ( `The '${ error . path } ' executable could not be found. Please make sure it is on your PATH and/or the necessary packages are installed.` ) ;
93
+ console . log ( `PATH is set to: ${ process . env . PATH } ` ) ;
94
+ }
95
+
90
96
core . setFailed ( error . message ) ;
91
97
}
You can’t perform that action at this time.
0 commit comments