diff options
| author | 2026-03-01 10:52:52 -0600 | |
|---|---|---|
| committer | 2026-03-01 10:52:52 -0600 | |
| commit | e8f9c129352f793bb09bd57ba220f39d0a99d71a (patch) | |
| tree | c9ccb88273d31fb0135b7caeca8258c21e237f7c | |
| parent | Dup io file descriptors when marshalling closable files. (diff) | |
Fix regression where private main was not run.
| -rw-r--r-- | src/boot/boot.janet | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/boot/boot.janet b/src/boot/boot.janet index 8d624e52..72970bfc 100644 --- a/src/boot/boot.janet +++ b/src/boot/boot.janet @@ -4670,7 +4670,7 @@ (defn- run-main [env subargs arg] - (when-let [main (module/value env 'main)] + (when-let [main (module/value env 'main true)] (def guard (if (get env :debug) :ydt :y)) (defn wrap-main [&] (main ;subargs)) |
