mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-11 04:48:44 +03:00
Always log squirrel log
This commit is contained in:
parent
631acbd8d4
commit
7027f8619c
@ -90,13 +90,13 @@ cp.safeExec.bind(global, 'npm install npm --loglevel error', {cwd: path.resolve(
|
||||
cp.safeExec.bind(global, gruntPath + ' ci --gruntfile build/Gruntfile.coffee --stack --no-color'),
|
||||
]
|
||||
async.series(tasks, function(error) {
|
||||
if (error && process.platform === 'win32') {
|
||||
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'));
|
||||
}
|
||||
console.log('DONE-----');
|
||||
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'));
|
||||
|
||||
process.exit(error ? 1 : 0);
|
||||
});
|
||||
})();
|
||||
|
Loading…
Reference in New Issue
Block a user