Update dependencies
This commit is contained in:
1 parent
fccda8d726
commit
8f69b74a89
18 files changed
+1003
-799
No files matched your search
@@ -55,7 +55,8 @@ function putActionHandler(prefix: string[], dataYaml: string): Promise<any> {
|
||||
for (const f of res) current[f._id] = f.value;
|
||||
|
||||
const diff = configFunctions.diffConfig(current, updated);
|
||||
if (!diff.add.length && !diff.remove.length) return void resolve();
|
||||
if (!diff.add.length && !diff.remove.length)
|
||||
return void resolve(null);
|
||||
|
||||
const promises = [];
|
||||
|
||||
@@ -74,7 +75,7 @@ function putActionHandler(prefix: string[], dataYaml: string): Promise<any> {
|
||||
|
||||
Promise.all(promises)
|
||||
.then(() => {
|
||||
resolve();
|
||||
resolve(null);
|
||||
})
|
||||
.catch(reject);
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user