diff options
author | Michael Davis | 2022-07-04 14:32:28 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2022-07-05 10:34:03 +0000 |
commit | 85411bed83615895f4138fa080c07c257631d7f7 (patch) | |
tree | e6d53399db93b4cca0180d05f4bd24f24a15ab52 /helix-dap | |
parent | 44f596334aeda7c540fbe12d2653c86dae686470 (diff) |
DAP: Make `cwd` required in RunTerminalArguments
The spec has `cwd` in `RunInTerminalRequestArguments` as non-optional:
https://microsoft.github.io/debug-adapter-protocol/specification#Reverse_Requests_RunInTerminal
Diffstat (limited to 'helix-dap')
-rw-r--r-- | helix-dap/src/types.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/helix-dap/src/types.rs b/helix-dap/src/types.rs index 71b2aa83..45f45cca 100644 --- a/helix-dap/src/types.rs +++ b/helix-dap/src/types.rs @@ -700,8 +700,7 @@ pub mod requests { pub kind: Option<String>, #[serde(skip_serializing_if = "Option::is_none")] pub title: Option<String>, - #[serde(skip_serializing_if = "Option::is_none")] - pub cwd: Option<String>, + pub cwd: String, pub args: Vec<String>, #[serde(skip_serializing_if = "Option::is_none")] pub env: Option<HashMap<String, Option<String>>>, |