From fbf16da9ac12bd0e3e4304674ed2bff60273f4ae Mon Sep 17 00:00:00 2001 From: Dillon Shaffer <46535284+Molkars@users.noreply.github.com> Date: Sat, 25 May 2024 09:29:05 -0500 Subject: [PATCH] Update cordova --- bin/cordova | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/cordova b/bin/cordova index 411c429d..e4cc6ef3 100755 --- a/bin/cordova +++ b/bin/cordova @@ -29,7 +29,7 @@ cli(process.argv).catch(err => { const errorOutput = typeof err === 'string' ? err : util.inspect(err); throw new CordovaError('Promise rejected with non-error: ' + errorOutput); } - if (typeof err.code !== "number") { + if (typeof err.code !== 'number') { process.exitCode = 1; } else { process.exitCode = err.code;