Skip to content

Commit

Permalink
fix(electron-updater): forbid back tick
Browse files Browse the repository at this point in the history
Close #4701
  • Loading branch information
develar committed Apr 27, 2020
1 parent 0f0363b commit 82d6602
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/electron-updater/src/NsisUpdater.ts
Original file line number Diff line number Diff line change
Expand Up @@ -236,5 +236,5 @@ async function _spawn(exe: string, args: Array<string>): Promise<any> {
}

function hasQuotes(name: string): boolean {
return name.includes("'") || name.includes('"')
return name.includes("'") || name.includes('"') || name.includes('`')
}

0 comments on commit 82d6602

Please sign in to comment.