launchdarkly / ld-vscode

VSCode extension for LaunchDarkly
https://www.launchdarkly.com
Other
17 stars 8 forks source link

Fix Flag Search when no Aliases are present #71

Closed InTheCloudDan closed 3 years ago

InTheCloudDan commented 3 years ago

The command for searching for all flag references was not working for a single flag key with no aliases. This change fixes that.

InTheCloudDan commented 3 years ago

@bwoskow-ld I'm not sure how simple of a test it will be yet as there is a lack of testing over a majority of this class and this test will then have a dependency on FlagAliases class. So for immediate term I wanted to get the fix out then my next step is going back through to look at how to start adding more test coverage to VS Code overall.