Skip to content

Commit

Permalink
Remove CHANGES.md just in case before running specs
Browse files Browse the repository at this point in the history
  • Loading branch information
webpro committed Apr 15, 2022
1 parent 59053b4 commit 51d3b10
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test.js
Expand Up @@ -7,6 +7,10 @@ const stream = require('stream');
const fs = require('fs');
const { factory, runTasks } = require('release-it/test/util');

try {
fs.unlinkSync('CHANGES.md');
} catch (error) {}

const conventionalRecommendedBump = sinon.stub().callsFake((options, cb) => {
if (options.preset === 'angular') return cb(null, { releaseType: 'minor' });
cb(new Error('Something went wrong'));
Expand Down

0 comments on commit 51d3b10

Please sign in to comment.