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
pull/2982/head
Michael Davis 2 years ago committed by Blaž Hrastnik
parent 44f596334a
commit 85411bed83

@ -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>>>,

Loading…
Cancel
Save