We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 367ce2e commit 0c01e58Copy full SHA for 0c01e58
packages/cli/src/commands/update.ts
@@ -35,9 +35,7 @@ export async function updateCommand(projectPath: string) {
35
};
36
37
// Can either give a json like package.json or just with deps and their new versions
38
- const updatedDependencies: Index | void = await new Promise((resolve, reject) =>
39
- run(ncuOptions).then(resolve).catch(reject)
40
- );
+ const updatedDependencies: Index | void = await run(ncuOptions);
41
42
if (!updatedDependencies) return;
43
0 commit comments