mirror of
https://github.com/microsoft/vscode.git
synced 2026-09-03 16:15:28 +01:00
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
co-authored by
Copilot Autofix powered by AI
parent
bd3672ba51
commit
e574378dcd
+1
-1
@@ -2416,7 +2416,7 @@ export class RunInTerminalTool extends Disposable implements IToolImpl {
|
||||
return altBufferResult;
|
||||
}
|
||||
|
||||
if (didSandboxWrapCommand && outputLooksBubblewrapHostRestricted(terminalResult)) {
|
||||
if (didSandboxWrapCommand && exitCode !== 0 && outputLooksBubblewrapHostRestricted(terminalResult)) {
|
||||
return this._getBubblewrapHostRestrictedResult();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user