mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-21 16:08:24 +03:00
Add charset to read call
This commit is contained in:
parent
3d8c19fc79
commit
d384e0492d
@ -94,7 +94,7 @@ cp.safeExec.bind(global, 'npm install npm --loglevel error', {cwd: path.resolve(
|
||||
var fs = require('fs');
|
||||
var squirrelLog = path.resolve(__dirname, '..', 'build', 'node_modules', 'grunt-atom-shell-installer', 'vendor', 'SquirrelSetup.log');
|
||||
if (fs.existsSync(squirrelLog))
|
||||
console.log(fs.readFileSync(squirrelLog));
|
||||
console.log(fs.readFileSync(squirrelLog, 'utf8'));
|
||||
}
|
||||
process.exit(error ? 1 : 0);
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user