From eb4e963716291e15bb502ed3eeba6bfdd8fc6718 Mon Sep 17 00:00:00 2001 From: guipublic Date: Mon, 23 Dec 2024 14:53:18 +0000 Subject: [PATCH] consistent file_id across installation paths --- tooling/nargo/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tooling/nargo/src/lib.rs b/tooling/nargo/src/lib.rs index ee7b2e4809a..c126b6f526c 100644 --- a/tooling/nargo/src/lib.rs +++ b/tooling/nargo/src/lib.rs @@ -97,7 +97,7 @@ fn insert_all_files_for_package_into_file_manager( .parent() .unwrap_or_else(|| panic!("The entry path is expected to be a single file within a directory and so should have a parent {:?}", package.entry_path)); - for entry in WalkDir::new(entry_path_parent) { + for entry in WalkDir::new(entry_path_parent).sort_by_file_name() { let Ok(entry) = entry else { continue; };