From 1f645cd0fb6eae525394bc4d3c63570419f719bb Mon Sep 17 00:00:00 2001 From: Misaki <64830812+misaki-web@users.noreply.github.com> Date: Wed, 22 Feb 2023 18:01:26 -0500 Subject: [PATCH] New environment variable --- src/lib/shell-command-service.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/shell-command-service.ts b/src/lib/shell-command-service.ts index ecd4c3c..c476fbb 100644 --- a/src/lib/shell-command-service.ts +++ b/src/lib/shell-command-service.ts @@ -40,7 +40,8 @@ export class ShellCommandService { cwd: this.shellCommandExecContext.getCwd(params.filePath), env: { ...this.shellCommandExecContext.env, - ES_SELECTED: params.input + ES_SELECTED: params.input, + ES_FILEPATH: params.filePath } }; }