nongrata081 / devkit

development kit for dev workflow optimisation
0 stars 0 forks source link

handle overwriting existing files #9

Open nongrata081 opened 5 years ago

nongrata081 commented 5 years ago

e.g.

Error: Path "/scripts/enforce-yarn.js" already exist. at HostTree.create (/Users/vaan/.config/yarn/global/node_modules/@angular-devkit/schematics-cli/node_modules/@angular-devkit/schematics/src/tree/host-tree.js:272:19) at /Users/vaan/devkit/src/enforce-yarn/index.js:21:14 at MergeMapSubscriber.input.pipe.operators_1.mergeMap.inputTree [as project] (/Users/vaan/devkit/node_modules/@angular-devkit/schematics/src/rules/call.js:74:24) at MergeMapSubscriber._tryNext (/Users/vaan/devkit/node_modules/rxjs/internal/operators/mergeMap.js:69:27) at MergeMapSubscriber._next (/Users/vaan/devkit/node_modules/rxjs/internal/operators/mergeMap.js:59:18) at MergeMapSubscriber.Subscriber.next (/Users/vaan/devkit/node_modules/rxjs/internal/Subscriber.js:67:18) at MergeMapSubscriber.notifyNext (/Users/vaan/devkit/node_modules/rxjs/internal/operators/mergeMap.js:92:26) at InnerSubscriber._next (/Users/vaan/devkit/node_modules/rxjs/internal/InnerSubscriber.js:28:21) at InnerSubscriber.Subscriber.next (/Users/vaan/devkit/node_modules/rxjs/internal/Subscriber.js:67:18) at /Users/vaan/devkit/node_modules/rxjs/internal/util/subscribeTo.js:17:28