Commit 2a85a1a
fix: help > open logs may not work after interacting with other options (aws#4139)
* fix: help > open logs may not work after interacting with other options
Problem: Interacting with other options in the Amazon Q and Explorer views ellipses menu can cause the
view logs option (of the same tree) to open an empty file. Since this command and menu options are
maintained in package.json only, vscode may not properly supply arguments which leads to the open logs
command breaking.
Solution: Validate input arguments to the open logs command.
* refactor: update aws.viewLog comment and syntax
Co-authored-by: Justin M. Keyes <[email protected]>
* refactor: remove unused arg to openLogs()
---------
Co-authored-by: Justin M. Keyes <[email protected]>1 parent 4369134 commit 2a85a1a
File tree
2 files changed
+11
-8
lines changed- .changes/next-release
2 files changed
+11
-8
lines changedLines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
37 | 36 | | |
38 | 37 | | |
39 | | - | |
40 | | - | |
41 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
42 | 41 | | |
43 | 42 | | |
44 | 43 | | |
| |||
0 commit comments