cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From purplecabbage <...@git.apache.org>
Subject [GitHub] cordova-cli pull request #256: CB-11349 passing --fetch to create
Date Thu, 02 Jun 2016 21:29:21 GMT
Github user purplecabbage commented on a diff in the pull request:

    https://github.com/apache/cordova-cli/pull/256#discussion_r65622045
  
    --- Diff: src/cli.js ---
    @@ -464,12 +464,15 @@ function cli(inputArgs) {
                 cfg.lib = cfg.lib || {};
                 cfg.lib.www = wwwCfg;
             }
    -
    -        // create(dir, id, name, cfg)
    +        var fetchOpt = false;
    +        if (args['fetch']) {
    +            fetchOpt = true;
    +        }
             return cordova.raw.create( undashed[1]  // dir to create the project in
                 , undashed[2]  // App id
                 , undashed[3]  // App name
                 , cfg
    +            , fetchOpt
    --- End diff --
    
    how about just passing?
    ``` args['fetch'] != undefined ```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


Mime
View raw message