[
https://issues.apache.org/jira/browse/CB-8151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15359836#comment-15359836
]
ASF GitHub Bot commented on CB-8151:
------------------------------------
GitHub user purplecabbage opened a pull request:
https://github.com/apache/cordova-lib/pull/462
CB-8151 util.js creates directory if require()d
Defer creating of libDir folder until something actually requests it.
Related: CB-11194
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/purplecabbage/cordova-lib RemoveUtilSideEffect
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cordova-lib/pull/462.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #462
----
commit 7a21db7a99bc242e7f886495949ca1707c8943f8
Author: Jesse MacFadyen <[email protected]>
Date: 2016-07-01T23:35:53Z
defer creating of libDir folder until something actually requests it.
Related: CB-11194
----
> --copy-from cannot work w/ remote urls on the cli (but can programatically)
> ---------------------------------------------------------------------------
>
> Key: CB-8151
> URL: https://issues.apache.org/jira/browse/CB-8151
> Project: Apache Cordova
> Issue Type: Bug
> Components: CordovaLib
> Reporter: Brian LeRoux
>
> It's this code in cli.js -
> ```var customWww = args['copy-from'] || args['link-to'];
> if (customWww) {
> if (customWww.indexOf('http') === 0) {
> throw new CordovaError(
> 'Only local paths for custom www assets are supported.'
> );
> }
> ```
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]