packages/cli: no special handling of cli e2e tests wrt caching

This commit is contained in:
Patrik Oldsberg
2020-04-16 16:52:47 +02:00
parent 372200bb19
commit bdafffb237
@@ -30,7 +30,7 @@ export async function withCache(
buildFunc: () => Promise<void>,
): Promise<void> {
const key = await Cache.readInputKey(options.inputs);
if (!key || process.env.BACKSTAGE_E2E_CLI_TEST) {
if (!key) {
print('input directory is dirty, skipping cache');
await fs.remove(options.output);
await buildFunc();