File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change
1
+ /* eslint-disable @typescript-eslint/naming-convention */
1
2
import { spawnSync , SpawnSyncOptionsWithStringEncoding , SpawnSyncReturns } from "child_process" ;
2
3
import { GGShieldConfiguration } from "./ggshield-configuration" ;
3
4
import { workspace } from "vscode" ;
@@ -18,18 +19,15 @@ export function runGGShieldCommand(
18
19
let env : {
19
20
GITGUARDIAN_API_URL : string ;
20
21
GG_USER_AGENT : string ;
21
- GITGUARDIAN_DONT_LOAD_ENV : string ;
22
22
GITGUARDIAN_API_KEY ?: string ;
23
23
} = {
24
24
GITGUARDIAN_API_URL : apiUrl ,
25
25
GG_USER_AGENT : "gitguardian-vscode" ,
26
- GITGUARDIAN_DONT_LOAD_ENV : "true" ,
27
26
} ;
28
27
29
28
if ( apiKey ) {
30
29
env = {
31
30
...env ,
32
- // eslint-disable-next-line @typescript-eslint/naming-convention
33
31
GITGUARDIAN_API_KEY : apiKey ,
34
32
} ;
35
33
}
You can’t perform that action at this time.
0 commit comments