Updated error message

Signed-off-by: Matto <muhamadto@gmail.com>
This commit is contained in:
Matto
2021-10-29 16:39:13 +11:00
parent d86a5734fd
commit f7cd672c7f
+1 -3
View File
@@ -116,9 +116,7 @@ export async function loadConfig(
.map(configTarget => configTarget.url);
if (remote === undefined && configUrls.length > 0) {
throw new Error(
`Remote config detected, however, this feature is turned off. Remote config will be ignored.`,
);
throw new Error(`Remote config detected but this feature is turned off`);
}
// If no paths are provided, we default to reading