context_server: Change command string field to PathBuf (#34873)
Release Notes: - N/A
This commit is contained in:
parent
87014cec71
commit
3a651c546b
7 changed files with 22 additions and 23 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue