semantic-release/test/fixtures/plugin-error.js
Pierre Vanduynslager 5bec59b26b feat: Expect plugins to return Promises
BREAKING CHANGE: Each plugin is expected to return an async function or a Promise returning function. The callback parameter is not passed to plugins anymore.
2017-11-24 21:56:15 -05:00

6 lines
116 B
JavaScript

module.exports = () => {
const error = new Error('a');
error.errorProperty = 'errorProperty';
throw error;
};