commit | 11ce340a47719060b57bcfe18852b20f21a69c65 | [log] [tgz] |
---|---|---|
author | Raphael von der GrĂ¼n <raphinesse@gmail.com> | Mon Nov 11 13:09:59 2019 +0100 |
committer | GitHub <noreply@github.com> | Mon Nov 11 13:09:59 2019 +0100 |
tree | 639d1487cb80bf1b4fe18bfd14b7f21e0997cf68 | |
parent | fb6bc3ef7f3b6f5066f2f6560e3282f13abecc0a [diff] |
refactor(create): do not expand ~ to $HOME anymore (#490) Expanding ~ is a shell feature and should not be done by us.
diff --git a/src/cli.js b/src/cli.js index d5caea4..93d9208 100644 --- a/src/cli.js +++ b/src/cli.js
@@ -481,10 +481,6 @@ ); } - // Resolve tilda - // TODO: move to create and use sindresorhus/untildify - if (customWww.substr(0, 1) === '~') { customWww = path.join(process.env.HOME, customWww.substr(1)); } - // Template config cfg.lib = {}; cfg.lib.www = {