mirror of
https://github.com/elastic/kibana.git
synced 2025-06-27 18:51:07 -04:00
support yarn kbn reset when bazel isn't installed
This commit is contained in:
parent
e91c33e3d1
commit
240241c35c
1 changed files with 5 additions and 3 deletions
|
@ -40,8 +40,10 @@ export const command = {
|
||||||
...(await findPluginCleanPaths(log)),
|
...(await findPluginCleanPaths(log)),
|
||||||
]);
|
]);
|
||||||
|
|
||||||
const quiet = args.getBooleanValue('quiet');
|
if (await Bazel.isInstalled(log)) {
|
||||||
await Bazel.expungeCache(log, { quiet });
|
const quiet = args.getBooleanValue('quiet');
|
||||||
await Bazel.cleanDiskCache(log);
|
await Bazel.expungeCache(log, { quiet });
|
||||||
|
await Bazel.cleanDiskCache(log);
|
||||||
|
}
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue