force an error for test purposes

This commit is contained in:
Yann Braga 2022-11-09 10:27:03 +01:00
parent 11414a72cd
commit b477e75974

View File

@ -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 });
},
};