Add cwd parameter which is not optional anymore (#3240)

pull/3281/head
Danilo Spinella 2 years ago committed by GitHub
parent ab616ab718
commit 110eb73045
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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 args = to_value(args).unwrap();
let callback = |_editor: &mut Editor, _compositor: &mut Compositor, _response: Value| { let callback = |_editor: &mut Editor, _compositor: &mut Compositor, _response: Value| {

Loading…
Cancel
Save