Skip to content

Commit 0f91675

Browse files
committed
refactor: import process explicitly
1 parent 01f6ab3 commit 0f91675

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

e2e/utils/env.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import process from 'node:process'
2+
13
export const BASE = process.env.E2E_BASE ?? '/'
24
export const BUNDLER = process.env.E2E_BUNDLER ?? 'vite'
35
export const COMMAND = process.env.E2E_COMMAND ?? 'dev'

packages/cli/src/config/loadUserConfig.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import process from 'node:process'
12
import { pathToFileURL } from 'node:url'
23
import { fs, hash, importFileDefault, path } from '@vuepress/utils'
34
import { build } from 'esbuild'

packages/utils/tests/console/withSpinner.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import process from 'node:process'
12
import { beforeEach, expect, it, vi } from 'vitest'
23
import { withSpinner } from '../../src/index.js'
34

0 commit comments

Comments
 (0)