chore: run prettier
This commit is contained in:
parent
77ab2718e7
commit
873bf7eb99
54 changed files with 462 additions and 416 deletions
|
@ -6,7 +6,10 @@ import { loadYamlSafely } from "./utils/loadYamlSafely";
|
|||
import { ObjectAliasError } from "./utils/validateNoObjectAliases";
|
||||
|
||||
function writeError(key: string, error: string) {
|
||||
const indented = error.split("\n").map(s => " ".repeat(64) + s).join("\n");
|
||||
const indented = error
|
||||
.split("\n")
|
||||
.map((s) => " ".repeat(64) + s)
|
||||
.join("\n");
|
||||
const prefix = `Invalid config ${key}:`;
|
||||
const prefixed = prefix + indented.slice(prefix.length);
|
||||
console.log(prefixed + "\n\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue