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';