Github user filmaj commented on a diff in the pull request:
https://github.com/apache/cordova-mobile-spec/pull/144#discussion_r122072468
--- Diff: createmobilespec/createmobilespec.js ---
@@ -365,7 +365,7 @@ shelljs.config.fatal = true;
if (argv.clearnpmcache) {
// clean out cached platforms and plugins and app-hello-world
var home_dir = process.env.HOME || process.env.HOMEPATH ||
process.env.USERPROFILE;
- shelljs.rm("-rf", path.join(home_dir, ".cordova/npm_cache"));
+ shelljs.rm("-rf", path.join(home_dir, ".cordova" + path.sep +
"npm_cache"));
--- End diff --
you can just use provide ".cordova" and "npm_cache" as separate arguments
to `path.join` here - `join` will handle using the proper separator.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]