[ https://issues.apache.org/jira/browse/CB-6943?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14035845#comment-14035845 ]
ASF subversion and git services commented on CB-6943: ----------------------------------------------------- Commit fc3c606b22214c864a7ae3fc5ab549c84453548c in cordova-cli's branch refs/heads/master from [~kamrik] [ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=fc3c606 ] CB-6943: Fixe cli tets on non-windows. The previous commit for this bug f6e73a61683ed2160eaa1da97f6cfacbc6aea0ac broke the cli jasmine tests for non Windows platforms. Custom www path gets path.resolved. Paths beginning with C:\ get resolved to something like this on Os X: /Users/joe/tst/c:\PrivateWWW I replaced the specific expectation for the path with jasmine.any(Object). Note, paths beginning with file:// don't get resolved properly either, so they still don't work as custom www uri. Looks like we need to write or find a smarter wrapper for path.resolve that can take care of file:// and c:\ > customWWW assets can be local but include : in path > --------------------------------------------------- > > Key: CB-6943 > URL: https://issues.apache.org/jira/browse/CB-6943 > Project: Apache Cordova > Issue Type: Bug > Components: CLI > Reporter: Jesse MacFadyen > Assignee: Jesse MacFadyen > > passing a copy-from or link-to value of file:// will output the error message: > 'Only local paths for custom www assets are supported.' > This IS a local path. The test should be testing for http not : > C: is another valid path segment. -- This message was sent by Atlassian JIRA (v6.2#6252)