From 9d3c310d27b427d8a53f189d22eed7c4d4ddc9d4 Mon Sep 17 00:00:00 2001 From: Ezequiel Rodriguez Date: Sun, 22 Oct 2023 22:55:38 -0700 Subject: [PATCH] Replace VSCODE_CLI -> VSCODE_PID --- src/processors.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/processors.ts b/src/processors.ts index 753c98a..d5292e1 100644 --- a/src/processors.ts +++ b/src/processors.ts @@ -37,7 +37,7 @@ const getPreProcessor = untrackedFileList = getUntrackedFileList(staged, true); } const shouldBeProcessed = - process.env.VSCODE_CLI !== undefined || + process.env.VSCODE_PID !== undefined || diffFileList.includes(filename) || untrackedFileList.includes(filename);