mirror of
https://github.com/serverless/serverless.git
synced 2026-01-18 14:58:43 +00:00
fixing resources deploy
This commit is contained in:
parent
4d7bfaf7c2
commit
d04da1ac2e
@ -59,12 +59,18 @@ ex:
|
||||
let _this = this,
|
||||
spinner = JawsCLI.spinner();
|
||||
|
||||
JawsUtils.jawsDebug('stage and region param', stageRegion);
|
||||
|
||||
if(evt.stage && evt.region) {
|
||||
_this.evt = evt;
|
||||
if (_this.Jaws.cli) {
|
||||
|
||||
// Add options to evt
|
||||
_this.evt = _this.Jaws.cli.options;
|
||||
|
||||
// Add region & stage from params.
|
||||
_this.evt.stage = _this.Jaws.cli.params[0];
|
||||
_this.evt.region = _this.Jaws.cli.params[1];
|
||||
|
||||
}
|
||||
|
||||
|
||||
return this.Jaws.validateProject()
|
||||
.bind(_this)
|
||||
.then(_this._promptStageRegion)
|
||||
|
||||
@ -75,6 +75,10 @@
|
||||
{
|
||||
"path": "./defaults/actions/EnvUnset.js",
|
||||
"config": {}
|
||||
},
|
||||
{
|
||||
"path": "./defaults/actions/ResourcesDeploy.js",
|
||||
"config": {}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user