Skip to content
This repository has been archived by the owner on Feb 5, 2018. It is now read-only.

Commit

Permalink
Merge pull request #14 from jamischarles/master
Browse files Browse the repository at this point in the history
fix(WIP): Remove `:` from WIP
  • Loading branch information
Kent C. Dodds committed Jan 19, 2016
2 parents e68a2bc + dd20f7e commit 80fe7c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ var findup = require('findup');
var config = getConfig();
var MAX_LENGTH = config.maxSubjectLength || 100;
var PATTERN = /^((?:fixup!\s*)?(\w*)(\(([\w\$\.\*/-]*)\))?\: (.*))(\n|$)/;
var IGNORED = /^WIP\:/;
var IGNORED = /^WIP/;
var TYPES = config.types || ['feat', 'fix', 'docs', 'style', 'refactor', 'perf', 'test', 'chore', 'revert'];

var error = function() {
Expand Down Expand Up @@ -114,4 +114,4 @@ function getConfig() {
var pkgFile = findup.sync(process.cwd(), 'package.json');
var pkg = JSON.parse(fs.readFileSync(resolve(pkgFile, 'package.json')));
return pkg && pkg.config && pkg.config['validate-commit-msg'] || {};
}
}

0 comments on commit 80fe7c7

Please sign in to comment.