From f3148491a3591915fab67b87140e05d9375fc726 Mon Sep 17 00:00:00 2001 From: Martin <5703553+pre-martin@users.noreply.github.com> Date: Wed, 7 Jan 2026 17:06:23 +0100 Subject: [PATCH] Fix whitespace in JSON.stringify indentation Indent manifest by 4 spaces. --- 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..1ddef84 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, " ".repeat(4)); const stream = new Readable(); stream.push(sanitizedManifest, "utf-8");