Attempt to change the output of module manifest
This commit is contained in:
parent
01036e7b31
commit
8bc0ef8fdc
|
@ -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 New Issue