Skip to content

Commit

Permalink
refactor: import process explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
meteorlxy committed Oct 10, 2024
1 parent 01f6ab3 commit 0f91675
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions e2e/utils/env.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import process from 'node:process'

export const BASE = process.env.E2E_BASE ?? '/'
export const BUNDLER = process.env.E2E_BUNDLER ?? 'vite'
export const COMMAND = process.env.E2E_COMMAND ?? 'dev'
Expand Down
1 change: 1 addition & 0 deletions packages/cli/src/config/loadUserConfig.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import process from 'node:process'
import { pathToFileURL } from 'node:url'
import { fs, hash, importFileDefault, path } from '@vuepress/utils'
import { build } from 'esbuild'
Expand Down
1 change: 1 addition & 0 deletions packages/utils/tests/console/withSpinner.spec.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import process from 'node:process'
import { beforeEach, expect, it, vi } from 'vitest'
import { withSpinner } from '../../src/index.js'

Expand Down

0 comments on commit 0f91675

Please sign in to comment.