[kbn/pm] replace a few missing awaits

This commit is contained in:
spalger 2022-09-24 01:06:48 -05:00
parent 775906503f
commit d9017b9b07

View file

@ -56,7 +56,7 @@ export const command = {
// our custom logic have determined there is a chance node_modules have been manually deleted and as such bazel
// tracking mechanism is no longer valid
const forceInstall =
args.getBooleanValue('force-install') ?? haveNodeModulesBeenManuallyDeleted();
args.getBooleanValue('force-install') ?? (await haveNodeModulesBeenManuallyDeleted());
await Bazel.tryRemovingBazeliskFromYarnGlobal(log);
@ -83,7 +83,7 @@ export const command = {
}
const plugins = await time('plugin discovery', async () => {
return pluginDiscovery();
return await pluginDiscovery();
});
// generate the synthetic package map which powers several other features, needed