Skip to content

Commit d674a17

Browse files
authored
Fix Run Recent Command Caching Issue (#22867)
Resolves: #22811 Fixing caching issue where users were experiencing cached success/failure decoration that were impacted when using `Terminal: Run Recent Command` on success/failure commands
1 parent c0bf1b7 commit d674a17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pythonFiles/pythonrc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def __str__(self):
4949
exit_code = 1
5050
else:
5151
exit_code = 0
52-
52+
self.hooks.failure_flag = False
5353
# Guide following official VS Code doc for shell integration sequence:
5454
result = ""
5555
# For non-windows allow recent_command history.

0 commit comments

Comments
 (0)