mirror of
https://github.com/serverless/serverless.git
synced 2026-01-25 15:07:39 +00:00
bugfixes
This commit is contained in:
parent
f4f9ead06f
commit
f271f17524
@ -509,7 +509,7 @@ Packager.prototype._createDistFolder = Promise.method(function() {
|
||||
// Get ENV file from S3
|
||||
return _this._JAWS.getEnvFile(_this._region, _this._stage)
|
||||
.then(function(s3ObjData) {
|
||||
var targetBackDir = path.join(_this._JAWS._meta.projectRootPath, 'back');
|
||||
var targetBackDir = path.join(_this._distDir, 'back');
|
||||
fs.writeFileSync(path.join(targetBackDir, '.env'), s3ObjData.Body);
|
||||
});
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user