apache / cordova-mobile-spec

Apache Cordova mobile-spec
Apache License 2.0
66 stars 107 forks source link

createmobilespec.js should check if folder it will create the app already exists and quit #188

Open janpio opened 5 years ago

janpio commented 5 years ago

Right now the user has to check if the directory where the script will create the app is empty, otherwise the script can have unexpected behavior. It would be much better if the script could just output something like "Folder mobilespec already exists and contains files. Please remove them before creating a new mobilespec project."