diff --git a/index.js b/index.js index 8b573be..286abac 100755 --- a/index.js +++ b/index.js @@ -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() { @@ -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'] || {}; -} \ No newline at end of file +}