Better prettier format logging

This commit is contained in:
Kirill Bulatov 2023-09-25 15:08:39 +03:00
parent a9f80a603c
commit 2d5741aef8
2 changed files with 2 additions and 0 deletions

View file

@ -285,6 +285,7 @@ impl Prettier {
} else {
None
};
log::debug!("Formatting file {:?} with prettier, plugins :{plugins:?}, options: {prettier_options:?}", buffer.file().map(|f| f.full_path(cx)));
FormatParams {
text: buffer.text(),