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/11/23 23:51:55 UTC

[cordova-mobile-spec] 09/16: TODO

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

janpio pushed a commit to branch janpio-cleanup
in repository https://gitbox.apache.org/repos/asf/cordova-mobile-spec.git

commit 8cc0b359b06e196b7e227d337695ee64a5722fc6
Author: Jan Piotrowski <pi...@gmail.com>
AuthorDate: Sat Nov 24 00:47:58 2018 +0100

    TODO
---
 createmobilespec/createmobilespec.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/createmobilespec/createmobilespec.js b/createmobilespec/createmobilespec.js
index b501239..88f9f7b 100755
--- a/createmobilespec/createmobilespec.js
+++ b/createmobilespec/createmobilespec.js
@@ -130,7 +130,7 @@ var top_dir =             process.cwd() + path.sep,
                    .boolean("windows").describe("windows", "Add Windows (universal) platform.")
                    .boolean("wp8").describe("wp8", "Add Windows Phone 8 platform.")
                    .boolean("firefoxos").describe("firefoxos", "Add FirefoxOS platform.")
-                   .boolean("plugman").describe("plugman", "Use {platform}/bin/create and plugman directly instead of the CLI.")
+                   .boolean("plugman").describe("plugman", "Use {platform}/bin/create and plugman directly instead of the CLI.") // TODO Why would one want to do that?
                    .boolean("global").describe("global", "Use the globally-installed `cordova` and the downloaded platforms/plugins from the registry instead of the local git repo.\n" +
                                                "\t\t\tWill use the local git repo of mobile-spec.\n" +
                                                "\t\t\tGenerally used only to test RC or production releases.\n" +
@@ -405,7 +405,7 @@ function verifyNpmLinkOf(linkedModule, installedModule) {
     if (fs.existsSync(linkedPath)) {
         var myStat = fs.lstatSync(linkedPath);
         if (!myStat.isSymbolicLink()) {
-            throw new Error('Module ' + linkedModule + ' installed in ' + installedModule + ' is not npm-linked. I recommend you run "coho npm-link".');
+            throw new Error('Module ' + linkedModule + ' installed in ' + installedModule + ' is not npm-linked. I recommend you run "coho npm-link".'); // TODO angleichen an andere commands
         }
     } else {
         throw new Error('Module ' + linkedModule + ' is not installed at all (direct or npm-linked) in ' + installedModule);


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