summaryrefslogtreecommitdiff
path: root/cli/tools/lint.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tools/lint.rs')
-rw-r--r--cli/tools/lint.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/cli/tools/lint.rs b/cli/tools/lint.rs
index b7f4a3f0d..5b9387eb1 100644
--- a/cli/tools/lint.rs
+++ b/cli/tools/lint.rs
@@ -59,10 +59,7 @@ pub async fn lint(flags: Flags, lint_flags: LintFlags) -> Result<(), AnyError> {
}
file_watcher::watch_func(
flags,
- file_watcher::PrintConfig {
- job_name: "Lint".to_string(),
- clear_screen: !watch_flags.no_clear_screen,
- },
+ file_watcher::PrintConfig::new("Lint", !watch_flags.no_clear_screen),
move |flags, watcher_communicator, changed_paths| {
let lint_flags = lint_flags.clone();
Ok(async move {