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 struct RunInTerminalArguments {
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>>>,