From bc0807fe935d1ea1b1fe81025f8f4da0aad3387c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Orhun=20Parmaks=C4=B1z?= Date: Mon, 9 Jan 2023 19:56:09 +0300 Subject: [PATCH] fix(npm): fix the type casting in base NPM package --- npm/git-cliff/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/npm/git-cliff/src/index.ts b/npm/git-cliff/src/index.ts index a08d8c8f19..5ebabc3125 100644 --- a/npm/git-cliff/src/index.ts +++ b/npm/git-cliff/src/index.ts @@ -12,7 +12,7 @@ import { spawnSync } from "child_process" */ function getExePath() { const arch = process.arch; - let os = process.platform; + let os = process.platform as string; let extension = ''; if (['win32', 'cygwin'].includes(process.platform)) { os = 'windows';