You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ja...@apache.org on 2018/02/15 14:46:09 UTC
[cordova-windows] 17/26: switch Error to CordovaError
This is an automated email from the ASF dual-hosted git repository.
janpio pushed a commit to branch janpio-msbuild_cleanup
in repository https://gitbox.apache.org/repos/asf/cordova-windows.git
commit 3b8e0133f6d453f16aab3bb5d127490b43720d3b
Author: Jan Piotrowski <pi...@gmail.com>
AuthorDate: Thu Feb 15 11:53:47 2018 +0100
switch Error to CordovaError
---
template/cordova/lib/build.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/template/cordova/lib/build.js b/template/cordova/lib/build.js
index ea92dde..d172736 100644
--- a/template/cordova/lib/build.js
+++ b/template/cordova/lib/build.js
@@ -130,7 +130,7 @@ function getBuildTargets (isWinSwitch, isPhoneSwitch, projOverride, buildConfig)
}
break;
default:
- throw new Error('Unsupported windows-phone-target-version value: ' + windowsPhoneTargetVersion);
+ throw new CordovaError('Unsupported windows-phone-target-version value: ' + windowsPhoneTargetVersion);
}
}
--
To stop receiving notification emails like this one, please contact
janpio@apache.org.
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org