'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var DEFAULT_WHITE_REG = /^release|develop|hotfix\/.+$/;
function shouldInclude() {
  var branch = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
  var reg = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : DEFAULT_WHITE_REG;
  return !reg.test(branch);
}

exports.DEFAULT_WHITE_REG = DEFAULT_WHITE_REG;
exports.shouldInclude = shouldInclude;
