mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[kbn_pm] add missing awaits
This commit is contained in:
parent
51c56345aa
commit
0333f03339
2 changed files with 5 additions and 5 deletions
|
@ -58,13 +58,13 @@ export const command = {
|
|||
const forceInstall =
|
||||
args.getBooleanValue('force-install') ?? haveNodeModulesBeenManuallyDeleted();
|
||||
|
||||
Bazel.tryRemovingBazeliskFromYarnGlobal(log);
|
||||
await Bazel.tryRemovingBazeliskFromYarnGlobal(log);
|
||||
|
||||
// Install bazel machinery tools if needed
|
||||
Bazel.ensureInstalled(log);
|
||||
await Bazel.ensureInstalled(log);
|
||||
|
||||
// Setup remote cache settings in .bazelrc.cache if needed
|
||||
setupRemoteCache(log);
|
||||
await setupRemoteCache(log);
|
||||
|
||||
// Bootstrap process for Bazel packages
|
||||
// Bazel is now managing dependencies so yarn install
|
||||
|
|
|
@ -41,7 +41,7 @@ export const command = {
|
|||
]);
|
||||
|
||||
const quiet = args.getBooleanValue('quiet');
|
||||
Bazel.expungeCache(log, { quiet });
|
||||
Bazel.cleanDiskCache(log);
|
||||
await Bazel.expungeCache(log, { quiet });
|
||||
await Bazel.cleanDiskCache(log);
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue