Skip to content

Commit e4e4e8b

Browse files
committed
Add missing {}
1 parent 4d20c4f commit e4e4e8b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

spec/node-spec.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,10 +236,11 @@ describe('node feature', function () {
236236
it('should have isTTY defined on Mac and Linux', function () {
237237
if (isCI) return
238238

239-
if (process.platform === 'win32')
239+
if (process.platform === 'win32') {
240240
assert.equal(process.stdout.isTTY, undefined)
241-
else
241+
} else {
242242
assert.equal(typeof process.stdout.isTTY, 'boolean')
243+
}
243244
})
244245
})
245246

0 commit comments

Comments
 (0)