Browse Source

Small mistake in path:is-regular doc

`path:is-dir` was in transcript
dunsany 1 năm trước cách đây
mục cha
commit
39c487416c
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      pkg/mods/path/path.go

+ 1 - 1
pkg/mods/path/path.go

@@ -224,7 +224,7 @@ func isDir(opts isOpts, path string) bool {
 // ~> touch not-a-dir
 // ~> path:is-regular not-a-dir
 // ▶ true
-// ~> path:is-dir /tmp
+// ~> path:is-regular /tmp
 // ▶ false
 // ```
 //