From 464d34e93b403ee02c58c7b56c9ddce0729c7403 Mon Sep 17 00:00:00 2001 From: demirhanaydin Date: Sat, 24 Sep 2016 01:55:20 +0300 Subject: [PATCH] [fix] EEXIST: file already exists .serverless --- lib/cleanup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cleanup.js b/lib/cleanup.js index 55e320b..6fe842f 100644 --- a/lib/cleanup.js +++ b/lib/cleanup.js @@ -11,7 +11,7 @@ module.exports = { const moveArtifact = new BbPromise((resolve, reject) => { if (this.originalServicePath) { this.serverless.config.servicePath = this.originalServicePath; - fse.move( + fse.copy( path.join(webpackOutputPath, '.serverless'), path.join(this.serverless.config.servicePath, '.serverless'), (err) => {