Browse Source

Small mistake in path:is-regular doc

`path:is-dir` was in transcript
dunsany 1 year ago
parent
commit
39c487416c
1 changed files with 1 additions and 1 deletions
  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
 // ~> touch not-a-dir
 // ~> path:is-regular not-a-dir
 // ~> path:is-regular not-a-dir
 // ▶ true
 // ▶ true
-// ~> path:is-dir /tmp
+// ~> path:is-regular /tmp
 // ▶ false
 // ▶ false
 // ```
 // ```
 //
 //