mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-19 08:01:25 +00:00
fix npm_mode check from raw_deps
This commit is contained in:
@@ -241,7 +241,10 @@ pub async fn handle_dependency_job<R: rsmq_async::RsmqConnection + Send + Sync +
|
||||
Some(
|
||||
job.args
|
||||
.as_ref()
|
||||
.map(|x| x.get("npm_mode").is_some())
|
||||
.map(|x| {
|
||||
x.get("npm_mode")
|
||||
.is_some_and(|y| y.to_string().as_str() == "true")
|
||||
})
|
||||
.unwrap_or(false),
|
||||
)
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user