context_server: Change command string field to PathBuf (#34873)

Release Notes:

- N/A
This commit is contained in:
Ben Brandt 2025-07-22 12:12:07 +02:00 committed by GitHub
parent 87014cec71
commit 3a651c546b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 22 additions and 23 deletions

View file

@ -3,7 +3,7 @@ mod dap;
mod lsp;
mod slash_command;
use std::ops::Range;
use std::{ops::Range, path::PathBuf};
use util::redact::should_redact;
@ -18,7 +18,7 @@ pub type EnvVars = Vec<(String, String)>;
/// A command.
pub struct Command {
/// The command to execute.
pub command: String,
pub command: PathBuf,
/// The arguments to pass to the command.
pub args: Vec<String>,
/// The environment variables to set for the command.