mirror of
https://github.com/orhun/git-cliff.git
synced 2024-09-11 06:55:38 +03:00
fix(npm): fix the type casting in base NPM package
This commit is contained in:
parent
56101f058c
commit
bc0807fe93
@ -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';
|
||||
|
Loading…
Reference in New Issue
Block a user