From 2f85a6a966ecc3525035b1aae47cf0f93c745383 Mon Sep 17 00:00:00 2001 From: Leo Lamprecht Date: Wed, 15 Feb 2017 21:58:24 +0100 Subject: [PATCH] Split error into multiple lines --- lib/read-metadata.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/read-metadata.js b/lib/read-metadata.js index 20fdbdf..6d46502 100644 --- a/lib/read-metadata.js +++ b/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 {