mirror of
https://github.com/denoland/deno.git
synced 2025-07-23 13:15:16 +00:00
perf(fmt/lint): incremental formatting and linting (#14314)
This commit is contained in:
parent
803499886b
commit
ae479b1036
11 changed files with 645 additions and 49 deletions
|
@ -1154,7 +1154,7 @@ impl Inner {
|
|||
Some(Err(err)) => Err(anyhow!("{}", err)),
|
||||
None => {
|
||||
// it's not a js/ts file, so attempt to format its contents
|
||||
format_file(&file_path, document.content().as_str(), fmt_options)
|
||||
format_file(&file_path, document.content().as_str(), &fmt_options)
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue