Commit graph

5 commits

Author SHA1 Message Date
Evan Hahn
8bfaf598af Add license headers across the project 2020-11-04 13:03:13 -06:00
Chris Svenningsen
50378ed9bc Migrate base ts to eslint 2020-09-21 15:42:50 -04:00
Scott Nonnenberg
925e02e397 Fix lint error in OS.ts 2018-05-23 16:26:48 -07:00
jython234
84759d813e Modify OS.isWindows to check platform before version (#2407)
* Modify OS.isWindows to check if OS is Windows first before checking version.

Previously OS.isWindows checked if the windows version matched the one required. This worked fine, except for the fact that it would end up comparing a linux kernel version to a windows version as it didn't check if the platform was Windows in the first place before.

This caused issues as it would throw an error when comparing with non-semver linux kernels (such as Fedora). Now it checks if the current platform is Windows first, and if not, immediately returns false.

Resolves: #2396

* Fix formatting for OS.ts
2018-05-20 14:02:29 -07:00
Daniel Gasienica
a102016ed8 Port Settings and OS to TypeScript 2018-05-02 20:01:57 -04:00