mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-26 11:44:28 +08:00
9 lines
163 B
TypeScript
9 lines
163 B
TypeScript
import process from 'node:process'
|
|
|
|
// Stub `process.env` and always return an empty object
|
|
Object.defineProperty(process, 'env', {
|
|
get() {
|
|
return {}
|
|
}
|
|
})
|