Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/vite-task-client/src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ export function getEnv(name: string, options?: {
* this run's cache entry.
*
* A query that matches every env name, `{ prefix: '' }` or `*`, returns an
* empty object and records nothing: read the task's own env from
* `process.env` instead.
* empty object and records nothing. Ask for a narrower pattern instead, such
* as `{ prefix: 'VITE_' }`.
*
* Has no effect on `process.env`; the caller decides what to do with the
* returned values. Returns an empty object when not running inside a runner.
Expand Down
4 changes: 2 additions & 2 deletions packages/vite-task-client/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ export function getEnv(name, options) {
* this run's cache entry.
*
* A query that matches every env name, `{ prefix: '' }` or `*`, returns an
* empty object and records nothing: read the task's own env from
* `process.env` instead.
* empty object and records nothing. Ask for a narrower pattern instead, such
* as `{ prefix: 'VITE_' }`.
*
* Has no effect on `process.env`; the caller decides what to do with the
* returned values. Returns an empty object when not running inside a runner.
Expand Down
Loading