Skip to content

Commit

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

0 comments on commit bc0807f

Please sign in to comment.