From 3f015e0f06fb59cafcebb980b47172cddff4ff3b Mon Sep 17 00:00:00 2001 From: wattdave Date: Tue, 17 Oct 2017 17:28:15 -0700 Subject: [PATCH] Fix bug when a deploymentBucket is used --- lib/pipenv.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/pipenv.js b/lib/pipenv.js index 13f9eac1..107015d3 100644 --- a/lib/pipenv.js +++ b/lib/pipenv.js @@ -20,6 +20,7 @@ function pipfileToRequirements() { } if (res.status != 0) throw new Error(res.stderr); + fse.ensureDir(path.join(this.servicePath, '.serverless')); fse.writeFileSync(path.join(this.servicePath, '.serverless/requirements.txt'), res.stdout); };