Remove squirrel log output

This commit is contained in:
Kevin Sawicki
2015-04-01 11:58:22 -07:00
parent 4b90926ccf
commit b44b4a2372

View File

@@ -94,18 +94,3 @@ cp.safeExec.bind(global, 'npm install npm --loglevel error', {cwd: path.resolve(
});
})();
})();
process.on('exit', function() {
console.log('DONE-----');
try {
var fs = require('fs');
var squirrelLog = path.resolve(__dirname, '..', 'build', 'node_modules', 'grunt-atom-shell-installer', 'vendor', 'SquirrelSetup.log');
console.log(squirrelLog, fs.existsSync(squirrelLog));
if (fs.existsSync(squirrelLog))
console.log(fs.readFileSync(squirrelLog, 'utf8'));
} catch (error) {
console.error(error.message);
}
});