Skip to content

Commit

Permalink
Revert "danger: fail build on CI for convenience"
Browse files Browse the repository at this point in the history
This reverts commit 9093ba1
  • Loading branch information
Hypnosphi committed Mar 13, 2018
1 parent e2347a6 commit ad363e0
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions dangerfile.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { fail as dangerFail, danger } from 'danger';
import { fail, danger } from 'danger';
import { flatten, intersection, isEmpty } from 'lodash';

const pkg = require('./package.json'); // eslint-disable-line import/newline-after-import
Expand All @@ -12,11 +12,6 @@ const Versions = {

const branchVersion = Versions.PATCH;

const fail = (...args) => {
dangerFail(...args);
process.exit(1);
};

const checkRequiredLabels = labels => {
const forbiddenLabels = flatten([
'do not merge',
Expand Down

0 comments on commit ad363e0

Please sign in to comment.