Skip to content

Commit

Permalink
fix(npm): fix the variable declaration for NPM package OS
Browse files Browse the repository at this point in the history
  • Loading branch information
orhun committed Jan 9, 2023
1 parent 24c8e3e commit f40a565
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions npm/git-cliff/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down

0 comments on commit f40a565

Please sign in to comment.