redo failure

This commit is contained in:
Yann Braga 2022-11-14 09:21:45 +01:00
parent 54b48b90e7
commit 2a5f3c3fac

View File

@ -9,6 +9,10 @@ export const build: Task = {
return pathExists(builtSandboxDir);
},
async run({ sandboxDir }, { dryRun, debug }) {
const result = 1 + 1 === 2;
if (result === true) {
throw new Error('Oh no!');
}
return exec(`yarn build-storybook --quiet`, { cwd: sandboxDir }, { dryRun, debug });
},
};