From 72b5e496c81700fddd9b475cb77965c3b6091de7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Rodriguez?= Date: Thu, 24 Aug 2023 16:32:29 +0200 Subject: [PATCH] fix: copy-version script --- types/scripts/copy-version.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/scripts/copy-version.js b/types/scripts/copy-version.js index cd48762d..fdf68262 100644 --- a/types/scripts/copy-version.js +++ b/types/scripts/copy-version.js @@ -6,4 +6,4 @@ const packageJson = JSON.parse(fs.readFileSync('./package.json', 'utf-8')); packageJson.version = packageVersion; -fs.writeFileSync('./package.json', JSON.stringify(packageJson, null, 2)); \ No newline at end of file +fs.writeFileSync("./package.json", `${JSON.stringify(packageJson, null, 2)}\n`);