1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-10-05 05:17:40 +02:00

chmod mode is string

This commit is contained in:
Kyle Spearrin 2018-05-22 19:41:17 -04:00
parent b12783910a
commit 07f927b2a9

View File

@ -65,7 +65,7 @@ export class UpdateCommand {
const currentDir = this.inPkg ? path.dirname(process.execPath) : __dirname;
zip.extractAllTo(currentDir, true);
if (process.platform !== 'win32') {
fs.chmodSync(path.join(currentDir, 'bw'), 764);
fs.chmodSync(path.join(currentDir, 'bw'), '764');
}
res.title = 'Updated self to ' + tagName + '.';
if (responseJson.body != null && responseJson.body !== '') {