File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -177,7 +177,7 @@ private function runCaptainCommand(string $command): void
177
177
$ skip = $ command === self ::COMMAND_INSTALL ? ' -s ' : '' ;
178
178
$ executable = str_replace (' ' , '\\ ' , $ this ->executable );
179
179
180
- // sub process settings
180
+ // sub process settings
181
181
$ cmd = $ executable . ' ' . $ command . $ ansi . $ interaction . $ skip . $ configuration . $ repository ;
182
182
$ pipes = [];
183
183
$ spec = [
@@ -202,7 +202,7 @@ private function runCaptainCommand(string $command): void
202
202
$ exitCode = $ status ['exitcode ' ] ?? -1 ;
203
203
proc_close ($ process );
204
204
if ($ exitCode !== 0 ) {
205
- throw new RuntimeException ($ this ->pluginErrorMessage ('invalid-exit-code ' ));
205
+ $ this -> io -> writeError ($ this ->pluginErrorMessage ('installation process failed ' ));
206
206
}
207
207
}
208
208
You can’t perform that action at this time.
0 commit comments