Update capacitor version
This commit is contained in:
parent
91155bce0a
commit
f3b3a86b32
610 changed files with 28718 additions and 7101 deletions
8
@capacitor/cli/dist/util/subprocess.js
vendored
8
@capacitor/cli/dist/util/subprocess.js
vendored
|
@ -10,13 +10,7 @@ async function runCommand(command, args, options = {}) {
|
|||
catch (e) {
|
||||
if (e instanceof utils_subprocess_1.SubprocessError) {
|
||||
// old behavior of just throwing the stdout/stderr strings
|
||||
throw e.output
|
||||
? e.output
|
||||
: e.code
|
||||
? e.code
|
||||
: e.error
|
||||
? e.error.message
|
||||
: 'Unknown error';
|
||||
throw e.output ? e.output : e.cause ? `${e.message} ${e.cause.toString()}` : e.code ? e.code : 'Unknown error';
|
||||
}
|
||||
throw e;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue