Add charset to read call

This commit is contained in:
Kevin Sawicki 2015-04-01 10:40:59 -07:00
parent 3d8c19fc79
commit d384e0492d

View File

@ -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);
});