common-fate / granted

The easiest way to access your cloud.
https://granted.dev
MIT License
956 stars 90 forks source link

fix bug where every line is removed in config #631

Closed Nepoxx closed 2 months ago

Nepoxx commented 3 months ago

What changed?

The function RemoveLine will no longer remove all lines.

Why?

removeLine := strings.Contains(line, line) would always be true and thus all lines would be removed.