launchdarkly / ld-find-code-refs

Build tool for automatically sending feature flag code references to LaunchDarkly
https://launchdarkly.com
Other
46 stars 34 forks source link

Build a map of flags to delimiters #156

Closed InTheCloudDan closed 3 years ago

InTheCloudDan commented 3 years ago

Instead of rebuilding the strings each time we can build it once before scanning code and then look up that flag key in the map.