From afdfd1229dd823c015cb216b5813ba05c76299bf Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Tue, 15 Dec 2020 21:06:05 -0500 Subject: [PATCH] Fix --- commands/util/dependency-update.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/commands/util/dependency-update.js b/commands/util/dependency-update.js index 2ce800a9..5c30ab94 100644 --- a/commands/util/dependency-update.js +++ b/commands/util/dependency-update.js @@ -28,17 +28,17 @@ module.exports = class DependencyUpdateCommand extends Command { async run(msg) { const needUpdate = []; for (const [dep, ver] of Object.entries(dependencies)) { - const update = this.parseUpdate(dep, ver); + const update = await this.parseUpdate(dep, ver); if (!update) continue; needUpdate.push(update); } for (const [dep, ver] of Object.entries(devDependencies)) { - const update = this.parseUpdate(dep, ver); + const update = await this.parseUpdate(dep, ver); if (!update) continue; needUpdate.push(update); } for (const [dep, ver] of Object.entries(optionalDependencies)) { - const update = this.parseUpdate(dep, ver); + const update = await this.parseUpdate(dep, ver); if (!update) continue; needUpdate.push(update); }