-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Remove try...catch around use of vscode.env.shell #8413
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov Report
@@ Coverage Diff @@
## master #8413 +/- ##
==========================================
- Coverage 59.46% 59.14% -0.32%
==========================================
Files 509 509
Lines 23393 23390 -3
Branches 3779 3774 -5
==========================================
- Hits 13910 13834 -76
- Misses 8577 8650 +73
Partials 906 906
Continue to review full report at Codecov.
|
@@ -85,11 +85,11 @@ suite('Shell Detectors', () => { | |||
test('Identify shell based on VSC Environment', async () => { | |||
const shellDetector = new VSCEnvironmentShellDetector(instance(appEnv)); | |||
shellPathsAndIdentification.forEach((shellType, shellPath) => { | |||
when(appEnv.shell).thenReturn(shellPath); | |||
when(appEnv.shell).thenReturn(shellPath as any); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you shouldn't need this as any
either 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Both my eyes were closed when I added this🥱 sorry
For #6912