add missing semicolon

This commit is contained in:
Todd Baur 2017-03-09 20:18:21 +09:00
parent cda54a8166
commit 9aac650c1e
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ Cmd.prototype.newApp = function() {
try { try {
if(value.match(/^[a-zA-Z\s\-]+$/)) return value; if(value.match(/^[a-zA-Z\s\-]+$/)) return value;
} catch (e) { } catch (e) {
throw new Error('Name must be only letters, spaces, or dashes', 9) throw new Error('Name must be only letters, spaces, or dashes');
} }
}; };