Skip to content

Commit f0e8572

Browse files
authored
add switch to create linux-s390x arch
1 parent 0775fb3 commit f0e8572

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/utils.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,9 @@ class Utils {
336336
if ((0, os_1.arch)().includes('arm')) {
337337
return (0, os_1.arch)().includes('64') ? 'linux-arm64' : 'linux-arm';
338338
}
339+
if ((0, os_1.arch)().includes('s390x')) {
340+
return 'linux-s390x';
341+
}
339342
return (0, os_1.arch)().includes('64') ? 'linux-amd64' : 'linux-386';
340343
}
341344
static getJfExecutableName() {

0 commit comments

Comments
 (0)