We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
While fixing #52576 I made a quick pass of users of RegExp.exec() that do not check the returned result for being null. I found 3 possible locations:
RegExp.exec()
null
@Tyriar https://github.com/Microsoft/vscode/blob/d90f82140439e38e1aafc9dc052691dd38f77901/src/vs/workbench/parts/terminal/electron-browser/terminalService.ts#L208 https://github.com/Microsoft/vscode/blob/d90f82140439e38e1aafc9dc052691dd38f77901/src/vs/workbench/parts/terminal/electron-browser/terminalLinkHandler.ts#L255
@jrieken https://github.com/Microsoft/vscode/blob/d90f82140439e38e1aafc9dc052691dd38f77901/src/vs/workbench/api/node/extHostDocumentData.ts#L151
Not sure if this ever caused any issue, but I wanted to bring it up nevertheless.
The text was updated successfully, but these errors were encountered:
Using it with a * is always safe.
*
Sorry, something went wrong.
The second one is checked for null earlier in _handleLocalLink.
_handleLocalLink
279ef47
Thanks.
Tyriar
No branches or pull requests
While fixing #52576 I made a quick pass of users of
RegExp.exec()
that do not check the returned result for beingnull
. I found 3 possible locations:@Tyriar
https://github.com/Microsoft/vscode/blob/d90f82140439e38e1aafc9dc052691dd38f77901/src/vs/workbench/parts/terminal/electron-browser/terminalService.ts#L208
https://github.com/Microsoft/vscode/blob/d90f82140439e38e1aafc9dc052691dd38f77901/src/vs/workbench/parts/terminal/electron-browser/terminalLinkHandler.ts#L255
@jrieken
https://github.com/Microsoft/vscode/blob/d90f82140439e38e1aafc9dc052691dd38f77901/src/vs/workbench/api/node/extHostDocumentData.ts#L151
Not sure if this ever caused any issue, but I wanted to bring it up nevertheless.
The text was updated successfully, but these errors were encountered: