From 026ed8b7e2152a59ee5bbdcef3516c555a8f5d4a Mon Sep 17 00:00:00 2001 From: Vishnutheep B Date: Tue, 27 Aug 2024 17:20:12 +0530 Subject: [PATCH] Update buildutils/src/upgrade-lab-dependencies.ts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: MichaƂ Krassowski <5832902+krassowski@users.noreply.github.com> --- buildutils/src/upgrade-lab-dependencies.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildutils/src/upgrade-lab-dependencies.ts b/buildutils/src/upgrade-lab-dependencies.ts index 570f2d2417..003243f8a8 100644 --- a/buildutils/src/upgrade-lab-dependencies.ts +++ b/buildutils/src/upgrade-lab-dependencies.ts @@ -43,7 +43,7 @@ async function updatePackageJson(newVersion: string): Promise { updateDependencyVersion(existingPackageJson, newDependencies); - fs.writeFileSync(filePath, JSON.stringify(existingPackageJson, null, 2)); + fs.writeFileSync(filePath, JSON.stringify(existingPackageJson, null, 2) + '\n'); } }