chore(validate-commit-msg): allow * and - in scope string

This commit is contained in:
Igor Minar
2012-10-18 03:26:08 -07:00
parent d938983c06
commit 175e727f05
2 changed files with 3 additions and 1 deletions

View File

@@ -13,7 +13,7 @@ var util = require('util');
var MAX_LENGTH = 70;
var PATTERN = /^(\w*)(\(([\w\$\.]*)\))?\: (.*)$/;
var PATTERN = /^(\w*)(\(([\w\$\.\-\*]*)\))?\: (.*)$/;
var IGNORED = /^WIP\:/;
var TYPES = {
feat: true,