diff --git a/packages/nx/src/hasher/task-hasher.ts b/packages/nx/src/hasher/task-hasher.ts index d1783f7b452fb3..bbfcb2b6a48230 100644 --- a/packages/nx/src/hasher/task-hasher.ts +++ b/packages/nx/src/hasher/task-hasher.ts @@ -745,7 +745,7 @@ class TaskHasherImpl { parts.push(f.hash); }); } - const value = hashArray(parts); + const value = hashArray(parts.sort()); res({ value, details: { [mapKey]: value },