feat(aio): boilerplate:add cleans (removes) before adding

This commit is contained in:
Ward Bell 2017-04-25 08:25:05 -07:00 committed by Pete Bacon Darwin
parent ac5e6baced
commit d8e2829e5b
1 changed files with 1 additions and 0 deletions

View File

@ -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);