mirror of
https://github.com/opentofu/opentofu.git
synced 2026-06-09 00:22:36 -04:00
Attempt to change the output of module manifest
This commit is contained in:
parent
01036e7b31
commit
8bc0ef8fdc
1 changed files with 6 additions and 0 deletions
|
|
@ -115,6 +115,12 @@ func (m Manifest) WriteSnapshot(w io.Writer) error {
|
|||
} else {
|
||||
record.VersionStr = ""
|
||||
}
|
||||
|
||||
// Ensure Dir is written in a format that can be read by Linux and
|
||||
// Windows nodes
|
||||
if record.Dir != "" {
|
||||
record.Dir = filepath.ToSlash(record.Dir)
|
||||
}
|
||||
write.Records = append(write.Records, record)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue