Browse Source

Add missing {}

Kevin Sawicki 8 years ago
parent
commit
e4e4e8b2eb
1 changed files with 3 additions and 2 deletions
  1. 3 2
      spec/node-spec.js

+ 3 - 2
spec/node-spec.js

@@ -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')
+      }
     })
   })