feature(rest) for-in -> forEach

This commit is contained in:
coderaiser 2014-08-26 09:51:49 -04:00
parent 283541795f
commit 40400b7a3b

View file

@ -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';