Skip to content

Commit

Permalink
force an error for test purposes
Browse files Browse the repository at this point in the history
  • Loading branch information
yannbf committed Nov 9, 2022
1 parent 11414a7 commit 33bcaea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/tasks/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export const build: Task = {
return pathExists(builtSandboxDir);
},
async run({ sandboxDir }, { dryRun, debug }) {
throw new Error('Problems!');
return exec(`yarn build-storybook --quiet`, { cwd: sandboxDir }, { dryRun, debug });
},
};

0 comments on commit 33bcaea

Please sign in to comment.