diff --git a/backend/windmill-common/src/workspace_dependencies.rs b/backend/windmill-common/src/workspace_dependencies.rs index 820dd2efa9..12be155668 100644 --- a/backend/windmill-common/src/workspace_dependencies.rs +++ b/backend/windmill-common/src/workspace_dependencies.rs @@ -96,14 +96,7 @@ pub struct WorkspaceDependencies { impl WorkspaceDependencies { pub fn hash(&self) -> String { - // non-raw workspace dependencies will start with index 1. - // so if we see index 0, it is either default or default and raw deps - // if so we will use it's content as baseline - if self.id == 0 { - calculate_hash(&self.content) - } else { - self.id.to_string() - } + calculate_hash(&self.content) } /// Marks workspace dependencies as archived. pub async fn archive<'c>(