Only support ELECTRON_NO_ASAR in non browser/renderer processes

This commit is contained in:
Kevin Sawicki 2016-10-07 10:59:34 -07:00
parent 8897a7a926
commit f553d16539
2 changed files with 12 additions and 2 deletions

View file

@ -781,7 +781,7 @@ describe('asar package', function () {
output += data
})
spawned.stdout.on('close', function () {
stats = JSON.parse(output)
const stats = JSON.parse(output)
assert.equal(stats.isFile, true)
assert.equal(stats.size, 778)
done()