We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9411dfb commit 3dc282cCopy full SHA for 3dc282c
src/env.ts
@@ -9,7 +9,12 @@ type Env = {
9
* this tool needs to access, whether their values are defined or not.
10
*/
11
export function getEnvironmentVariables(): Env {
12
- return ['EDITOR'].reduce((object, key) => {
13
- return { ...object, [key]: process.env[key] };
14
- }, {} as Env);
+ return ['EDITOR'].reduce(
+ (object, key) => {
+ return { ...object, [key]: process.env[key] };
15
+ },
16
+ {
17
+ EDITOR: undefined,
18
19
+ );
20
}
0 commit comments