denoland/deno · error
Found {not_formatted_files_count} not formatted {not_formatt
Error message
Found {not_formatted_files_count} not formatted {not_formatted_files_str} in {checked_files_str} What it means
Error "Found {not_formatted_files_count} not formatted {not_formatted_files_str} in {checked_files_str}" thrown in denoland/deno.
Source
Thrown at cli/tools/fmt.rs:1059
}
})
.await?;
Ok(())
}
fn finish(&self) -> Result<(), AnyError> {
let not_formatted_files_count =
self.not_formatted_files_count.load(Ordering::Relaxed);
let checked_files_count = self.checked_files_count.load(Ordering::Relaxed);
let checked_files_str =
format!("{} {}", checked_files_count, files_str(checked_files_count));
if not_formatted_files_count == 0 {
info!("Checked {}", checked_files_str);
Ok(())
} else {
let not_formatted_files_str = files_str(not_formatted_files_count);
Err(anyhow!(
"Found {not_formatted_files_count} not formatted {not_formatted_files_str} in {checked_files_str}",
))
}
}
}
#[derive(Default)]
struct RealFormatter {
formatted_files_count: Arc<AtomicUsize>,
failed_files_count: Arc<AtomicUsize>,
checked_files_count: Arc<AtomicUsize>,
}
#[async_trait]
impl Formatter for RealFormatter {
async fn handle_files(
&self,
paths: Vec<PathBuf>,View on GitHub (pinned to 89f33cbef2)
When it happens
Trigger: Thrown at cli/tools/fmt.rs:1059 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of denoland/deno@89f33cbef2 (2026-08-16).
Data as JSON: /api/errors/c70b05004d35d99c.
Report an issue: GitHub.