8000 Fix outdated or_else() call · yorickpeterse/clogs@d648fca · GitHub
[go: up one dir, main page]

Skip to content

Commit

Permalink
Fix outdated or_else() call
Browse files Browse the repository at this point in the history
  • Loading branch information
yorickpeterse committed Jun 24, 2024
1 parent 2c3896e commit d648fca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.inko
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class async Main {
# This is needed to work around
# https://github.com/inko-lang/inko/issues/631.
let out = STDOUT.new as Write
let pwd = working_directory.or_else(fn { '.'.to_path })
let pwd = working_directory.or_else(fn (_) { '.'.to_path })

match cli.run(arguments, pwd, out) {
case Ok(_) -> {}
Expand Down

0 comments on commit d648fca

Please sign in to comment.
0