diff options
Diffstat (limited to 'cli/tools/fmt.rs')
-rw-r--r-- | cli/tools/fmt.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/tools/fmt.rs b/cli/tools/fmt.rs index 5ab82795c..284f20dda 100644 --- a/cli/tools/fmt.rs +++ b/cli/tools/fmt.rs @@ -153,7 +153,7 @@ fn collect_fmt_files(files: &FilesConfig) -> Result<Vec<PathBuf>, AnyError> { .ignore_node_modules() .ignore_vendor_folder() .add_ignore_paths(&files.exclude) - .collect_files(&files.include) + .collect_files(files.include.as_deref()) } /// Formats markdown (using <https://github.com/dprint/dprint-plugin-markdown>) and its code blocks |