Browse Source

Split error into multiple lines

master
Leo Lamprecht 8 years ago
parent
commit
2f85a6a966
No known key found for this signature in database GPG Key ID: B08517883D5E0E10
  1. 4
      lib/read-metadata.js

4
lib/read-metadata.js

@ -151,7 +151,9 @@ async function readMetaData(path, {
// file, then fail hard and let the user know that they need to pick one or the
// other
if (hasNowJson) {
const e = new Error('You have a `now` configuration field inside `package.json`, but configuration is also present in `now.json`! Please ensure there\'s a single source of configuration by removing one')
const e = new Error('You have a `now` configuration field' +
'inside `package.json`, but configuration is also present' +
'in `now.json`! Please ensure there\'s a single source of configuration by removing one')
e.userError = true
throw e
} else {

Loading…
Cancel
Save