You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Formatter can skip overwriting file when contents are modified and contents are mutated.
Cause append can modify its pointer value. e.g. enough cap capacity.
Describe the bug
Formatter can skip overwriting file when contents are modified and contents are mutated.
Cause append can modify its pointer value. e.g. enough cap capacity.
swag/formatter.go
Line 93 in 10f006f
To Reproduce
Steps to reproduce the behavior:
Format Skipped.
#1915 (comment)
2. Fail.
Expected behavior
Always compare original file and formatted file exactly.
Your swag version
e.g. 1.6.3
Your go version
e.g. go1.22.0
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: