Skip to content

Commit

Permalink
Fix passing String when a Path is expected
Browse files Browse the repository at this point in the history
  • Loading branch information
yorickpeterse committed May 13, 2024
1 parent 45f5008 commit 2876892
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 @@ -66,7 +66,7 @@ class async Main {

fn run(config_path: String) {
let logger = Logger.default
let config = match Config.load(config_path) {
let config = match Config.load(config_path.to_path) {
case Ok(conf) -> conf
case Error(err) -> panic('failed to load ${config_path}: ${err}')
}
Expand Down

0 comments on commit 2876892

Please sign in to comment.