1
0
Fork 0
Foxx disabling development mode creates non-deterministic service bundle
This commit is contained in:
Mark 2017-06-27 16:38:42 +02:00 committed by Max Neunhöffer
parent a1a9334b67
commit 2ba5ee87c2
2 changed files with 4 additions and 0 deletions

View File

@ -22,6 +22,7 @@ devel
* fixed issue #2613: Reduce log level when Foxx manager tries to self heal missing database
* fixed issue #2677: Foxx disabling development mode creates non-deterministic service bundle
v3.2.beta1 (2017-06-12)
-----------------------

View File

@ -249,6 +249,9 @@ function zipDirectory (directory, zipFilename) {
if (files.length === 0) {
throwFileNotFound("Directory '" + String(directory) + "' is empty");
}
// sort files to be sure they are always in same order within the zip file
// independent of the OS and file system
files.sort();
fs.zipFile(zipFilename, directory, files);
return zipFilename;
}