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
177177 $ skip = $ command === self ::COMMAND_INSTALL ? ' -s ' : '' ;
178178 $ executable = str_replace (' ' , '\\ ' , $ this ->executable );
179179
180- // sub process settings
180+ // sub process settings
181181 $ cmd = $ executable . ' ' . $ command . $ ansi . $ interaction . $ skip . $ configuration . $ repository ;
182182 $ pipes = [];
183183 $ spec = [
@@ -202,7 +202,7 @@ private function runCaptainCommand(string $command): void
202202 $ exitCode = $ status ['exitcode ' ] ?? -1 ;
203203 proc_close ($ process );
204204 if ($ exitCode !== 0 ) {
205- throw new RuntimeException ($ this ->pluginErrorMessage ('invalid-exit-code ' ));
205+ $ this -> io -> writeError ($ this ->pluginErrorMessage ('installation process failed ' ));
206206 }
207207 }
208208
You can’t perform that action at this time.
0 commit comments