Skip to content

Fix LGTM.com alerts - #948

Merged
Rachel Macfarlane (RMacfarlane) merged 6 commits into
microsoft:masterfrom
s0:lgtm-alerts
Feb 15, 2019
Merged

Fix LGTM.com alerts#948
Rachel Macfarlane (RMacfarlane) merged 6 commits into
microsoft:masterfrom
s0:lgtm-alerts

Conversation

@s0

Copy link
Copy Markdown
Contributor

This PR fixes all of the alerts for this project found by LGTM.com.

The only change that could potentially change behaviour are the fixes to the string replacing in protocol.ts, everything else is just cleaning up redundant code.

The only alerts that would remain after this PR gets merged are false positives for 'Useless assignment to property', which is fixed in github/codeql#920 (and should be deployed to LGTM shortly).

(Full disclosure: I'm part of the team behind LGTM.com)

Only the first instance of back-slash was correctly replaced with
forward-slash. (found on LGTM.com)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! LGTM :)

@RMacfarlane
Rachel Macfarlane (RMacfarlane) merged commit 2957cea into microsoft:master Feb 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants