cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wilson Yang (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-12261) fix subdirectories deprecated warning always shows and stop fetch
Date Fri, 16 Dec 2016 23:26:58 GMT
Wilson Yang created CB-12261:
--------------------------------

             Summary: fix subdirectories deprecated warning always shows and stop fetch
                 Key: CB-12261
                 URL: https://issues.apache.org/jira/browse/CB-12261
             Project: Apache Cordova
          Issue Type: Bug
          Components: CordovaLib
    Affects Versions: 6.3.1
         Environment: Any
            Reporter: Wilson Yang
            Priority: Critical


CB-11979 introduced a warning for using subdir with git url.
But even there is no subdir, it still show the warning, or prevent fetch.

Because the line of code `options.subdir = options.subdir || '.';`
And `if (result[2]) options.subdir = result[2];` will not set subdir to empty
Then `if(options.subdir) {` will always true since options.subdir is '.' by default.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message