Skip to content

Commit

Permalink
redo failure
Browse files Browse the repository at this point in the history
  • Loading branch information
yannbf committed Nov 14, 2022
1 parent 54b48b9 commit 5ab858b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/tasks/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 });
},
};

0 comments on commit 5ab858b

Please sign in to comment.