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
This commit is contained in:
Michael Davis 2022-07-04 09:32:28 -05:00 committed by Blaž Hrastnik
parent 44f596334a
commit 85411bed83

View file

@ -700,8 +700,7 @@ pub mod requests {
pub kind: Option<String>, pub kind: Option<String>,
#[serde(skip_serializing_if = "Option::is_none")] #[serde(skip_serializing_if = "Option::is_none")]
pub title: Option<String>, pub title: Option<String>,
#[serde(skip_serializing_if = "Option::is_none")] pub cwd: String,
pub cwd: Option<String>,
pub args: Vec<String>, pub args: Vec<String>,
#[serde(skip_serializing_if = "Option::is_none")] #[serde(skip_serializing_if = "Option::is_none")]
pub env: Option<HashMap<String, Option<String>>>, pub env: Option<HashMap<String, Option<String>>>,