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
I wanted to fix upstream but at the point where the config is written back, the code has only an AST available. I think the AST would have to somehow be extended to carry a "modified" flag.
Describe the bug
cue fmt
doesn't respect the treefmt spec and writes to the file, even if no changes occurred in the formatting.To Reproduce
Run
cue fmt somefile.cue && stat somefile.cue
twice and see that the timestamp has changed twice.Expected behavior
No change.
Additional context
This seems to be a known issue with Cue already: cue-lang/cue#363
The text was updated successfully, but these errors were encountered: