mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
fix(cloudcmd) when params.prefix used, put it to options.prefix
This commit is contained in:
parent
7e0d44b480
commit
3a3018a8d2
1 changed files with 3 additions and 1 deletions
|
|
@ -55,8 +55,10 @@
|
|||
options = p.config || {},
|
||||
keys = Object.keys(options);
|
||||
|
||||
if (typeof params.prefix !== undefined)
|
||||
if (typeof params.prefix !== undefined) {
|
||||
console.log('cloudcmd: prefix property deprecated, use config.prefix instead');
|
||||
options.prefix = params.prefix;
|
||||
}
|
||||
|
||||
keys.forEach(function(name) {
|
||||
var value = options[name];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue