mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-08-01 20:22:29 +00:00
feature(rest) for-in -> forEach
This commit is contained in:
parent
283541795f
commit
40400b7a3b
1 changed files with 2 additions and 1 deletions
|
|
@ -372,8 +372,9 @@
|
|||
files.password = passwd;
|
||||
}
|
||||
|
||||
for (name in files)
|
||||
Object.keys(files).forEach(function(name) {
|
||||
config[name] = files[name];
|
||||
});
|
||||
|
||||
json = Util.stringifyJSON(config) + '\n';
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue