Преглед изворни кода

Small mistake in path:is-regular doc

`path:is-dir` was in transcript
dunsany пре 1 година
родитељ
комит
39c487416c
1 измењених фајлова са 1 додато и 1 уклоњено
  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
 // ```
 //