Skip to content

Commit

Permalink
Fix reproducable build
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeDoctorDE committed Jan 12, 2025
1 parent 760972d commit 544d13b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/generate_leap/lib/src/archive.dart
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ Future<Archive> createReproducableArchive(
final filename = file.path.substring(dir.path.length + 1);
final fileData = await file.readAsBytes();
archive.addFile(
ArchiveFile('$prefix/$filename', fileData.length, fileData)
ArchiveFile('$prefix$filename', fileData.length, fileData)
..lastModTime = lastModTime);
} else if (file is Directory) {
await addDirectory(
file, '$prefix/${file.path.substring(dir.path.length + 1)}');
file, '$prefix${file.path.substring(dir.path.length)}/');
}
}
}
Expand Down

0 comments on commit 544d13b

Please sign in to comment.