mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-04-26 15:02:28 -04:00
Only open a new file descriptor for RefreshState if we haven't written a state, and don't have the correct state open already. This prevents windows from failing to refresh a locked state.