{"record":{"id":"c70b05004d35d99c","repo":"denoland/deno","slug":"found-not-formatted-files-count-not-formatted-n","errorCode":null,"errorMessage":"Found {not_formatted_files_count} not formatted {not_formatted_files_str} in {checked_files_str}","messagePattern":"Found (.+?) not formatted (.+?) in (.+?)","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"cli/tools/fmt.rs","lineNumber":1059,"sourceCode":"      }\n    })\n    .await?;\n\n    Ok(())\n  }\n\n  fn finish(&self) -> Result<(), AnyError> {\n    let not_formatted_files_count =\n      self.not_formatted_files_count.load(Ordering::Relaxed);\n    let checked_files_count = self.checked_files_count.load(Ordering::Relaxed);\n    let checked_files_str =\n      format!(\"{} {}\", checked_files_count, files_str(checked_files_count));\n    if not_formatted_files_count == 0 {\n      info!(\"Checked {}\", checked_files_str);\n      Ok(())\n    } else {\n      let not_formatted_files_str = files_str(not_formatted_files_count);\n      Err(anyhow!(\n        \"Found {not_formatted_files_count} not formatted {not_formatted_files_str} in {checked_files_str}\",\n      ))\n    }\n  }\n}\n\n#[derive(Default)]\nstruct RealFormatter {\n  formatted_files_count: Arc<AtomicUsize>,\n  failed_files_count: Arc<AtomicUsize>,\n  checked_files_count: Arc<AtomicUsize>,\n}\n\n#[async_trait]\nimpl Formatter for RealFormatter {\n  async fn handle_files(\n    &self,\n    paths: Vec<PathBuf>,","sourceCodeStart":1041,"sourceCodeEnd":1077,"githubUrl":"https://github.com/denoland/deno/blob/89f33cbef296a2b287f323d42de54c871fa69c77/cli/tools/fmt.rs#L1041-L1077","documentation":"Error \"Found {not_formatted_files_count} not formatted {not_formatted_files_str} in {checked_files_str}\" thrown in denoland/deno.","triggerScenarios":"Thrown at cli/tools/fmt.rs:1059 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"89f33cbef296a2b287f323d42de54c871fa69c77","analyzedAt":"2026-08-16T07:54:21.310Z","schemaVersion":2},"datasetVersion":"2026-08-16T08:17:34.114Z"}