UNPKG

serverless-aliyun-function-compute-wnj

Version:

Provider plugin for the Serverless Framework v1.x which adds support for Aliyun Function Compute

16 lines (12 loc) 313 B
'use strict'; const _ = require('lodash'); const BbPromise = require('bluebird'); module.exports = { setDefaults() { this.options.stage = _.get(this, 'options.stage') || 'code'; this.options.region = _.get(this, 'options.region') || 'cn-hangzhou'; return BbPromise.resolve(); }, };