mirror of
https://github.com/orhun/git-cliff.git
synced 2024-09-11 06:55:38 +03:00
fix(npm): fix the variable declaration for NPM package OS
This commit is contained in:
parent
24c8e3e4cf
commit
f40a56588e
@ -12,8 +12,7 @@ import { spawnSync } from "child_process"
|
||||
*/
|
||||
function getExePath() {
|
||||
const arch = process.arch;
|
||||
const os = process.platform;
|
||||
|
||||
let os = process.platform;
|
||||
let extension = '';
|
||||
if (['win32', 'cygwin'].includes(process.platform)) {
|
||||
os = 'windows';
|
||||
|
Loading…
Reference in New Issue
Block a user