Fix the branch compilation

This commit is contained in:
Kirill Bulatov 2023-10-24 14:04:45 +02:00
parent 9a53da28bc
commit 4d5ca37edb
3 changed files with 3 additions and 87 deletions

View file

@ -195,7 +195,7 @@ impl Prettier {
) -> anyhow::Result<Self> {
use lsp2::LanguageServerBinary;
let executor = cx.executor();
let executor = cx.executor().clone();
anyhow::ensure!(
prettier_dir.is_dir(),
"Prettier dir {prettier_dir:?} is not a directory"