mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Add missing {}
This commit is contained in:
@@ -236,10 +236,11 @@ describe('node feature', function () {
|
||||
it('should have isTTY defined on Mac and Linux', function () {
|
||||
if (isCI) return
|
||||
|
||||
if (process.platform === 'win32')
|
||||
if (process.platform === 'win32') {
|
||||
assert.equal(process.stdout.isTTY, undefined)
|
||||
else
|
||||
} else {
|
||||
assert.equal(typeof process.stdout.isTTY, 'boolean')
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user