Explorar el Código

Small mistake in path:is-regular doc

`path:is-dir` was in transcript
dunsany hace 1 año
padre
commit
39c487416c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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
 // ```
 //