Skip to content
Permalink
Browse files
Do not try to copy non-existant directory
  • Loading branch information
raphinesse committed Sep 6, 2018
1 parent fe9f4fb commit 22b9d773bc80003d9084772838cdd5de66c94ed8
Showing 1 changed file with 0 additions and 4 deletions.
@@ -68,10 +68,6 @@ Api.createPlatform = function (destination, config, options, events) {
// move a copy of our api to the new project
shell.cp('-r',apiSrcPath, destination);

// move our node_modules
var srcModulePath = path.join(__dirname,'../../node_modules');
shell.cp('-r',srcModulePath,destination);

// I promise I will return
return Promise.resolve(new Api(PLATFORM_NAME,destination,events));

0 comments on commit 22b9d77

Please sign in to comment.