(
&self,
os: &Os,
paths: &[ContextFilePath],
context_files: &mut Vec<(String, String)>,
)
| 228 | } |
| 229 | |
| 230 | async fn collect_context_files( |
| 231 | &self, |
| 232 | os: &Os, |
| 233 | paths: &[ContextFilePath], |
| 234 | context_files: &mut Vec<(String, String)>, |
| 235 | ) -> Result<()> { |
| 236 | for path in paths { |
| 237 | // Use is_validation=false to handle non-matching globs gracefully |
| 238 | process_path(os, path.get_path_as_str(), context_files, false).await?; |
| 239 | } |
| 240 | Ok(()) |
| 241 | } |
| 242 | |
| 243 | /// Run all the currently enabled hooks from both the global and profile contexts. |
| 244 | /// # Returns |
no test coverage detected