states: In State.String, use colon suffix only after all module names

This commit is contained in:
Martin Atkins 2018-09-12 11:48:31 -07:00
parent f561c9c226
commit 5faf027ea7
1 changed files with 1 additions and 2 deletions

View File

@ -59,9 +59,8 @@ func (s *State) String() string {
buf.WriteString(step.InstanceKey.String())
buf.WriteByte(']')
}
buf.WriteString(":")
}
buf.WriteByte('\n')
buf.WriteString(":\n")
s := bufio.NewScanner(strings.NewReader(mStr))
for s.Scan() {