fix: preserve blank lines while removing comments

- Remove comment-only lines completely
- Strip inline comments but preserve the line
- Keep original blank lines intact
- Maintain file structure and spacing
- Update version to 0.1.1
This commit is contained in:
carraes
2025-07-03 14:30:30 -03:00
parent 406dc32879
commit 8fdfbc7f06
3 changed files with 11 additions and 5 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ import (
"github.com/carlosarraes/shush/internal/types"
)
var version = "0.1.0"
var version = "0.1.1"
func main() {
var cli types.CLI