This repository was archived by the owner on Apr 27, 2026. It is now read-only.
Commit 6e70b94
authored
chore: remove GODEBUG winsymlink=0 from go.mod (#102)
* chore: remove GODEBUG winsymlink=0 from go.mod
The winsymlink=0 flag preserved pre-Go-1.23 behavior where Windows
directory junctions were treated as symlinks. Go 1.23+ defaults to
treating junctions as regular directories (winsymlink=1), which is the
correct modern behavior. Go 1.26 deprecates the flag entirely.
Affected code paths (copy_dir.go, filesystem_search.go,
communicator.go, command_test.go) already handle real symlinks
correctly and are unaffected by this change on Linux/macOS. On
Windows, junctions will now be traversed as directories rather than
followed as symlinks, matching upstream opentofu#3415.
Closes #53
* chore: normalize godebug directive to single-line form after go mod tidy1 parent 67664a3 commit 6e70b94
1 file changed
Lines changed: 1 addition & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
| 8 | + | |
12 | 9 | | |
13 | 10 | | |
14 | 11 | | |
| |||
0 commit comments