Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down