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 } }; }