Skip to content

Commit f87970a

Browse files
styks1987leo
authored andcommitted
Allow darwin in the filename for that platform (#51)
1 parent b2b87a9 commit f87970a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/platform.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const { extname } = require('path')
44
module.exports = fileName => {
55
const extension = extname(fileName).split('.')[1]
66

7-
if (fileName.includes('mac') && extension === 'zip') {
7+
if ((fileName.includes('mac') || fileName.includes('darwin')) && extension === 'zip') {
88
return 'darwin'
99
}
1010

0 commit comments

Comments
 (0)