diff options
| author | Igor Minar | 2012-10-18 03:26:08 -0700 | 
|---|---|---|
| committer | Igor Minar | 2012-10-18 03:26:08 -0700 | 
| commit | 175e727f05fc72690c8c9ca592618285c4a74ab3 (patch) | |
| tree | d321c2b05b9cc0e0b7b827f49e67692ac0c4b136 /validate-commit-msg.js | |
| parent | d938983c06896306a7629ca15162e565ee98001c (diff) | |
| download | angular.js-175e727f05fc72690c8c9ca592618285c4a74ab3.tar.bz2 | |
chore(validate-commit-msg): allow * and - in scope string
Diffstat (limited to 'validate-commit-msg.js')
| -rwxr-xr-x | validate-commit-msg.js | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/validate-commit-msg.js b/validate-commit-msg.js index 453c56c7..7235b8d9 100755 --- a/validate-commit-msg.js +++ b/validate-commit-msg.js @@ -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, | 
