Pārlūkot izejas kodu

Small mistake in path:is-regular doc

`path:is-dir` was in transcript
dunsany 1 gadu atpakaļ
vecāks
revīzija
39c487416c
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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
 // ```
 //