Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
3.4.0
-
None
-
None
Description
Today when you try to create a project using a template whose path doesn't exist (typically due to a typo), you get:
cordova create /tmp/xxxq a a '{"id":"id","name":"name","lib":{"www":{"uri":"/tmp/xxqrtc","id":"custom","version":"0"}}}'
Creating a new cordova project with name "a" and id "a" at location "/tmp/xxxq"
Using custom www assets from /tmp/xxqrtc
cp: no such file or directory: /tmp/xxqrtc/*
The * isn't really appropriate, what doesn't exist is the template directory, not "*".
cordova create /tmp/xxxq a a '{"id":"id","name":"name","lib":{"www":{"uri":"/tmp/xxqrtc","id":"custom","version":"0"}}}'
Creating a new cordova project with name "a" and id "a" at location "/tmp/xxxq"
Using custom www assets from /tmp/xxqrtc
Could not find directory: /tmp/xxqrtc
If people don't think this should be handled by cli, I can host the code outside it, but...