diff options
Diffstat (limited to 'lib/utils/read-json.js')
-rw-r--r-- | lib/utils/read-json.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/utils/read-json.js b/lib/utils/read-json.js index c275bde89..5c304d8fd 100644 --- a/lib/utils/read-json.js +++ b/lib/utils/read-json.js @@ -76,7 +76,7 @@ function processObject (opts, cb) { return function (er, json) { if (json.name.charAt(0) === "." || json.name.match(/[\/@\s]/)) { var msg = "Invalid name: " + JSON.stringify(json.name) - + " may not start with '.' or contain '/' or '@'" + + " may not start with '.' or contain '/' or '@' or whitespace" , e = new Error(msg) if (cb) return cb(e) throw e |