Skip to content

Commit

Permalink
Add cwd parameter which is not optional anymore (helix-editor#3240)
Browse files Browse the repository at this point in the history
  • Loading branch information
danyspin97 authored and thomasskk committed Sep 9, 2022
1 parent ec4ec1e commit f98e4a4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions helix-term/src/commands/dap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,8 @@ pub fn dap_start_impl(
}
}

args.insert("cwd", to_value(std::env::current_dir().unwrap())?);

let args = to_value(args).unwrap();

let callback = |_editor: &mut Editor, _compositor: &mut Compositor, _response: Value| {
Expand Down

0 comments on commit f98e4a4

Please sign in to comment.