Commit effd5be
authored
Improves duplicate command prevention (#349)
* Improves duplicate command prevention
Refactors duplicate command prevention by implementing a timeout.
This removes the reliance on `sentToTerminal` and introduces a 3-second timeout after a command is sent to the terminal. This prevents duplicate commands from being executed within a short timeframe, improving the reliability of command execution.
* [Mega-Linter] Apply linters fixes
---------
Co-authored-by: nvuillam <17500430+nvuillam@users.noreply.github.com>1 parent 729e787 commit effd5be
2 files changed
+8
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
5 | 7 | | |
6 | 8 | | |
7 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
135 | | - | |
136 | | - | |
| 135 | + | |
| 136 | + | |
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
| |||
503 | 503 | | |
504 | 504 | | |
505 | 505 | | |
506 | | - | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
507 | 510 | | |
508 | 511 | | |
509 | 512 | | |
| |||
0 commit comments