mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-22 09:26:19 +04:00
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:
parent
44f596334a
commit
85411bed83
@ -700,8 +700,7 @@ pub struct RunInTerminalArguments {
|
|||||||
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…
Reference in New Issue
Block a user