diff --git a/zkstack_cli/crates/zkstack/src/commands/dev/commands/lint.rs b/zkstack_cli/crates/zkstack/src/commands/dev/commands/lint.rs index 45a8c499a7e1..a011ca28c285 100644 --- a/zkstack_cli/crates/zkstack/src/commands/dev/commands/lint.rs +++ b/zkstack_cli/crates/zkstack/src/commands/dev/commands/lint.rs @@ -152,7 +152,8 @@ fn lint_contracts(shell: &Shell, ecosystem: &EcosystemConfig, check: bool) -> an fn lint_autocompletion_files(_shell: &Shell, check: bool) -> anyhow::Result<()> { let completion_folder = Path::new("./zkstack_cli/crates/zkstack/completion/"); if !completion_folder.exists() { - bail!("Please run this command from the project's root folder") + logger::info("WARNING: Please run this command from the project's root folder"); + return Ok(()); } // Array of supported shells