Skip to content

Commit ef5cc03

Browse files
TMHSDigitalclaude
andcommitted
style(output): avoid shadowing the real builtin
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 9076980 commit ef5cc03

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎internal/output/file.go‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ type File struct {
3030
// would, so a umask of 077 keeps results private (#119). A path that is a
3131
// symlink is followed: the file it points at is replaced and the link kept.
3232
func CreateFile(path string) (*File, error) {
33-
if real, err := filepath.EvalSymlinks(path); err == nil {
34-
path = real
33+
if resolved, err := filepath.EvalSymlinks(path); err == nil {
34+
path = resolved
3535
}
3636
keep := os.FileMode(0)
3737
if fi, err := os.Stat(path); err == nil {

0 commit comments

Comments
 (0)