matthewbub/lg-coffee
refactor: fs-extra command should use copySync() instead of moveSync()
开放
#82 创建于 2020年11月23日
good first issuehelp wantedjavascriptnodejs
仓库指标
- 星标
- (0 个星标)
- PR 合并指标
- (30 天内没有已合并 PR)
描述
Referring to the command used to build the directory on local.
Reason for this is for those who decide to save this command vs using npx.
Recreate on a local environment :wrench:
run npx path_to/lg-coffee/packages/lg-init/index.js
after completing the prompts notice the og directory has been moved out of lg-coffee/packages/lg-init/lib/templates
Possible Solution 💡
we are using fs-extra and I'm blindly betting on .copySync() being the best solution here.