mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
Remove squirrel log output
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user