Skip to content

Commit 6c295c6

Browse files
committed
Update check for clippy in cli build file
1 parent 40b4663 commit 6c295c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/cli/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use std::path::{Path, PathBuf};
55
use anyhow::Result;
66

77
fn main() -> Result<()> {
8-
if let Ok("cargo-clippy") = env::var("CARGO_CFG_FEATURE").as_ref().map(String::as_str) {
8+
if env::var("CLIPPY_ARGS").is_ok() {
99
stub_plugin_for_clippy()
1010
} else {
1111
copy_plugin()

0 commit comments

Comments
 (0)