aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/system
diff options
context:
space:
mode:
Diffstat (limited to 'internal/system')
-rw-r--r--internal/system/mkdir.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/internal/system/mkdir.go b/internal/system/mkdir.go
index 9733b056..33e241a0 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)
}