Skip to content

Commit

Permalink
refactor: use std-env instead of ci-info
Browse files Browse the repository at this point in the history
  • Loading branch information
sheremet-va committed Jan 21, 2023
1 parent ba60a4e commit b5d1390
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion packages/vitest/package.json
Expand Up @@ -113,11 +113,11 @@
"acorn-walk": "^8.2.0",
"cac": "^6.7.14",
"chai": "^4.3.7",
"ci-info": "^3.7.1",
"debug": "^4.3.4",
"local-pkg": "^0.4.2",
"picocolors": "^1.0.0",
"source-map": "^0.6.1",
"std-env": "^3.3.1",
"strip-literal": "^1.0.0",
"tinybench": "^2.3.1",
"tinypool": "^0.3.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/vitest/src/utils/env.ts
@@ -1,3 +1,3 @@
export const isNode: boolean = typeof process < 'u' && typeof process.stdout < 'u' && !process.versions?.deno && !globalThis.window
export const isBrowser: boolean = typeof window !== 'undefined'
export { isCI } from 'ci-info'
export { isCI } from 'std-env'
13 changes: 6 additions & 7 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b5d1390

Please sign in to comment.