Convert JSON file indents to tabs

Be consistent with the usage of tabs as indents in all JSON files in the
project.  This makes it easier to configure editors to emit the right
indents when manually editing these files.
This commit is contained in:
Hornwitser committed 2023-11-25 18:19:15 +01:00
1 parent 702c323610
commit 87e52b804e
37 files changed
+596 -596

No files matched your search

+2 -2
View File
@@ -164,7 +164,7 @@ async function handleBootstrapCommand(
userManager.signUserToken(admin.name),
);
let content = JSON.stringify(controlConfig.serialize(), null, 4);
let content = JSON.stringify(controlConfig.serialize(), null, "\t");
if (args.output === "-") {
// eslint-disable-next-line no-console
console.log(content);
@@ -343,7 +343,7 @@ async function initialize(): Promise<InitializeParameters> {
let bytes = await asyncRandomBytes(256);
controllerConfig.set("controller.auth_secret", bytes.toString("base64"));
await lib.safeOutputFile(
controllerConfigPath, JSON.stringify(controllerConfig.serialize(), null, 4)
controllerConfigPath, JSON.stringify(controllerConfig.serialize(), null, "\t")
);
}