context_server: Interpret context server command paths relative to the extension's work dir (#27201)
This PR fixes an issues where the commands returned from context server extensions were being used as-is instead of interpreting them relative to the extension's work dir. Release Notes: - Fixed an issue with context server paths not being interpreted relative to the extension's work dir. --------- Co-authored-by: Max Brunsfeld <maxbrunsfeld@gmail.com> Co-authored-by: Thomas Mickley-Doyle <tmickleydoyle@gmail.com>
This commit is contained in:
parent
7feb50fafe
commit
c60a7034c8
2 changed files with 9 additions and 2 deletions
|
@ -906,7 +906,10 @@ impl ExtensionStore {
|
|||
.await
|
||||
}
|
||||
})
|
||||
.await?;
|
||||
.await
|
||||
.inspect_err(|error| {
|
||||
util::log_err(error);
|
||||
})?;
|
||||
|
||||
let output_path = &extensions_dir.join(extension_id.as_ref());
|
||||
if let Some(metadata) = fs.metadata(output_path).await? {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue