diff --git a/internal/system/mkdir.go b/internal/system/mkdir.go index 9733b05..33e241a 100644 --- a/internal/system/mkdir.go +++ b/internal/system/mkdir.go @@ -77,5 +77,9 @@ func (m *Mkdir) Path() string { } func (m *Mkdir) String() string { - return fmt.Sprintf("mode: %s path: %q", m.perm.String(), m.path) + t := "Ensure" + if m.ephemeral { + t = TypeString(m.Type()) + } + return fmt.Sprintf("mode: %s type: %s path: %q", m.perm.String(), t, m.path) }