Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: use std-env instead of ci-info
- Loading branch information
1 parent
a4f77b6
commit f0555cc
Showing
3 changed files
with
8 additions
and
9 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,3 @@ | ||
export const isNode = typeof process < 'u' && typeof process.stdout < 'u' && !process.versions?.deno && !globalThis.window | ||
export const isBrowser = typeof window !== 'undefined' | ||
export { isCI } from 'ci-info' | ||
export { isCI } from 'std-env' |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.