Skip to content

Commit d26842b

Browse files
committed
Fixing the order of the file name
1 parent 4f34e0d commit d26842b

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)