-
Notifications
You must be signed in to change notification settings - Fork 10
Conversation
c61e6d3
to
f0bfc4b
Compare
f0bfc4b
to
4fa565c
Compare
❤️ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After fixing tests. Great work
@@ -10,6 +10,7 @@ $injector.require("errors", "./errors"); | |||
$injector.requirePublic("fs", "./file-system"); | |||
$injector.require("sysInfoBase", "./sys-info-base"); | |||
$injector.require("hostInfo", "./host-info"); | |||
$injector.require("osInfo", "./os-info"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we name this just "os", usually our naming convention is to use the same name used in Node.js
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, the interface will be IoS, which is totally strange and will be confused with iOS, so osInfo is ok
}); | ||
|
||
after(() => { | ||
os.type = osType; | ||
os.release = osRelease; | ||
osInfo.type = osType; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the after
task should return everything in the correct way, so other tests will use the correct osInfo. In this case we set the type
property of osInfo to something that is not the default value. Is this correct?
@@ -1,5 +1,5 @@ | |||
import Future = require("fibers/future"); | |||
import * as prompt from "inquirer"; | |||
import prompt = require("inquirer"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure?
4fa565c
to
172f03a
Compare
❤️ |
Update the TS related dependencies to use TS 2.0 and fix the errors from the update
172f03a
to
16a4c64
Compare
❤️ |
Update the TS related dependencies to use TS 2.0 and fix the errors from
the update