summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/config/not_validated.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/config/not_validated.rs b/src/config/not_validated.rs
index 756a15e..451a3d2 100644
--- a/src/config/not_validated.rs
+++ b/src/config/not_validated.rs
@@ -123,13 +123,6 @@ impl NotValidatedConfiguration {
));
}
- // Error if linter is not a file
- if let Some(linter) = self.script_linter.as_ref() {
- if !linter.is_file() {
- return Err(anyhow!("Lint script is not a file: {}", linter.display()));
- }
- }
-
// Error if staging_directory is not a directory
if !self.staging_directory.is_dir() {
return Err(anyhow!(