1
0
mirror of https://github.com/janet-lang/janet synced 2024-06-24 22:23:15 +00:00

Merge pull request #353 from andrewchambers/require

Fix outdated require docstring.
This commit is contained in:
Calvin Rose 2020-04-19 10:44:37 -04:00 committed by GitHub
commit 122c77dbf6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2235,7 +2235,7 @@
(defn require
"Require a module with the given name. Will search all of the paths in
module/paths, then the path as a raw file path. Returns the new environment
module/paths. Returns the new environment
returned from compiling and running the file."
[path & args]
(def [fullpath mod-kind] (module/find path))