mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-21 05:02:39 +08:00
redo failure
This commit is contained in:
parent
54b48b90e7
commit
2a5f3c3fac
@ -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 });
|
||||
},
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user