You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ra...@apache.org on 2019/10/04 14:39:32 UTC

[cordova-lib] branch master updated: fix: error message during plugin installation w/ missing engine (#791)

This is an automated email from the ASF dual-hosted git repository.

raphinesse pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-lib.git


The following commit(s) were added to refs/heads/master by this push:
     new 1c24618  fix: error message during plugin installation w/ missing engine (#791)
1c24618 is described below

commit 1c2461841d9a8e3140683c9c86d38cd6d04461de
Author: Geert Ijewski <51...@users.noreply.github.com>
AuthorDate: Fri Oct 4 16:39:27 2019 +0200

    fix: error message during plugin installation w/ missing engine (#791)
---
 src/plugman/install.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/plugman/install.js b/src/plugman/install.js
index 1961ba8..ff514fd 100644
--- a/src/plugman/install.js
+++ b/src/plugman/install.js
@@ -227,7 +227,7 @@ function getEngines (pluginInfo, platform, project_dir, plugin_dir) {
         // check for other engines
         } else {
             if (typeof engine.platform === 'undefined' || typeof engine.scriptSrc === 'undefined') {
-                throw new CordovaError('warn', 'engine.platform or engine.scriptSrc is not defined in custom engine "' +
+                throw new CordovaError('engine.platform or engine.scriptSrc is not defined in custom engine "' +
                     theName + '" from plugin "' + pluginInfo.id + '" for ' + platform);
             }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org