From cc0df918924e818fb0e390bf59784726a211cfcc Mon Sep 17 00:00:00 2001 From: owan Date: Thu, 9 Oct 2025 15:02:24 +0800 Subject: [PATCH] fix: Remove sops issue #884 workaround --- src/extension.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/extension.ts b/src/extension.ts index 92a5006..4b91b42 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -565,11 +565,6 @@ async function getSopsGeneralOptions(fileUriToEncryptOrDecrypt: vscode.Uri) { } - // Error related to this issue https://github.com/getsops/sops/issues/884 is thrown otherwise. - // This is a workaround until the issue is fixed. - let configPath = os.platform() === 'win32' ? 'NUL' : '/dev/null'; - sopsGeneralArgs.push('--config', configPath); - let sopsConfigUri = await findSopsConfigRecursive(fileUriToEncryptOrDecrypt.with({ path: path.dirname(fileUriToEncryptOrDecrypt.path) })); if (sopsConfigUri) { let sopsConfigPath = sopsConfigUri.path;