feat(aio): boilerplate:add cleans (removes) before adding
This commit is contained in:
parent
ac5e6baced
commit
d8e2829e5b
|
@ -30,6 +30,7 @@ const files = {
|
||||||
|
|
||||||
// requires admin access because it adds symlinks
|
// requires admin access because it adds symlinks
|
||||||
function add() {
|
function add() {
|
||||||
|
remove();
|
||||||
const realPath = path.join(SHARED_PATH, '/node_modules');
|
const realPath = path.join(SHARED_PATH, '/node_modules');
|
||||||
const nodeModulesPaths = getNodeModulesPaths(EXAMPLES_PATH);
|
const nodeModulesPaths = getNodeModulesPaths(EXAMPLES_PATH);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue