-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
May start to help us debug windows CI timeouts
- Loading branch information
Showing
3 changed files
with
220 additions
and
243 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
const isWindows = opts => (opts.fakePlatform || process.platform) === 'win32' | ||
|
||
exports.isWindows = isWindows | ||
// returns as a function so we can override it in tests | ||
exports.isWindows = () => process.platform === 'win32' |
Oops, something went wrong.