Skip to content

Commit 271ef0f

Browse files
committed
* Update #update_remote_file_list_cache to sort uploaded file paths before writing to json file
1 parent 9531c16 commit 271ef0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/asset_sync/storage.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ def update_remote_file_list_cache(local_files_to_upload)
108108
return if ignore_existing_remote_files?
109109

110110
File.open(self.remote_file_list_cache_file_path, 'w') do |file|
111-
uploaded = (local_files_to_upload + remote_files).uniq
111+
uploaded = (local_files_to_upload + remote_files).uniq.sort
112112
file.write(uploaded.to_json)
113113
end
114114
end

0 commit comments

Comments
 (0)