build: strip v in the getElectronVersion helper
This commit is contained in:
parent
625b4619d6
commit
99a34d5209
2 changed files with 2 additions and 1 deletions
|
@ -18,5 +18,5 @@ module.exports.getElectronVersion = () => {
|
|||
console.error(output.stderr);
|
||||
throw new Error('Failed to get current electron version');
|
||||
}
|
||||
return output.stdout.toString().trim();
|
||||
return output.stdout.toString().trim().replace(/^v/g, '');
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue