[kbn_pm] add missing awaits

This commit is contained in:
spalger 2022-09-23 10:48:40 -05:00
parent 51c56345aa
commit 0333f03339
2 changed files with 5 additions and 5 deletions

View file

@ -58,13 +58,13 @@ export const command = {
const forceInstall = const forceInstall =
args.getBooleanValue('force-install') ?? haveNodeModulesBeenManuallyDeleted(); args.getBooleanValue('force-install') ?? haveNodeModulesBeenManuallyDeleted();
Bazel.tryRemovingBazeliskFromYarnGlobal(log); await Bazel.tryRemovingBazeliskFromYarnGlobal(log);
// Install bazel machinery tools if needed // Install bazel machinery tools if needed
Bazel.ensureInstalled(log); await Bazel.ensureInstalled(log);
// Setup remote cache settings in .bazelrc.cache if needed // Setup remote cache settings in .bazelrc.cache if needed
setupRemoteCache(log); await setupRemoteCache(log);
// Bootstrap process for Bazel packages // Bootstrap process for Bazel packages
// Bazel is now managing dependencies so yarn install // Bazel is now managing dependencies so yarn install

View file

@ -41,7 +41,7 @@ export const command = {
]); ]);
const quiet = args.getBooleanValue('quiet'); const quiet = args.getBooleanValue('quiet');
Bazel.expungeCache(log, { quiet }); await Bazel.expungeCache(log, { quiet });
Bazel.cleanDiskCache(log); await Bazel.cleanDiskCache(log);
}, },
}; };