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 10:53:58 UTC

[cordova-windows] branch janpio-msbuild_cleanup updated: 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


The following commit(s) were added to refs/heads/janpio-msbuild_cleanup by this push:
     new f835d08  switch Error to CordovaError
f835d08 is described below

commit f835d087e6bad6e20b49183a822e3351d35732d3
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