Skip to content

Commit 8441548

Browse files
authored
Merge pull request #52 from Heshdude/platform-specific-installers
Fixing the order of the file name
2 parents e1875cb + d26842b commit 8441548

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

functions/index.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,13 @@ app.get('/:package', (req, res) => {
2525
const withParam = req.query.with;
2626
const fileName = ['installer'];
2727

28-
if (minParam){
29-
fileName.push('min');
30-
}
3128
if (withParam){
3229
fileName.push(withParam);
3330
}
31+
if (minParam){
32+
fileName.push('min');
33+
}
34+
3435
fileName.push('sh');
3536
const fileNameString = fileName.join(".");
3637
const file = bucket.file(req.params.package + '/'+fileNameString);

0 commit comments

Comments
 (0)