From b38e908291e7f56c89632518bf774e4dcf022763 Mon Sep 17 00:00:00 2001 From: Martin <5703553+pre-martin@users.noreply.github.com> Date: Thu, 8 Jan 2026 09:41:25 +0100 Subject: [PATCH] Change JSON.stringify indentation to tabs Indent manifest by one tab character. --- src/commands/pack.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/pack.ts b/src/commands/pack.ts index 66fb92a..e3e9e9e 100644 --- a/src/commands/pack.ts +++ b/src/commands/pack.ts @@ -159,7 +159,7 @@ async function getPackageContents( // When the entry is the manifest, remove the `Nodejs.Debug` flag. if (file.path.relative === "manifest.json") { delete manifest.Nodejs?.Debug; - const sanitizedManifest = JSON.stringify(manifest, undefined, "".repeat(4)); + const sanitizedManifest = JSON.stringify(manifest, undefined, "\t"); const stream = new Readable(); stream.push(sanitizedManifest, "utf-8");