Skip to content

Commit

Permalink
See if this still runs
Browse files Browse the repository at this point in the history
  • Loading branch information
borkdude committed Jul 26, 2024
1 parent db938a5 commit 80a46ce
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/babashka/process.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,9 @@
(fs/which program) ;; to resolve any extensions

(fs/parent program)
(fs/which (fs/file (or dir (fs/cwd))
program))
(if dir
(fs/which (fs/file dir program))
(fs/which program))

:else
(fs/which program))]
Expand Down

0 comments on commit 80a46ce

Please sign in to comment.