We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 790db6a commit 355d0e7Copy full SHA for 355d0e7
src/utils.ts
@@ -64,9 +64,8 @@ export function getNodeArch(arch: string) {
64
case '6':
65
return uname();
66
case '7':
67
- return 'armv7l';
68
default:
69
- break;
+ return 'armv7l';
70
}
71
72
test/utils.spec.ts
@@ -97,7 +97,7 @@ describe('utils', () => {
97
value: 'arm',
98
});
99
process.config.variables = {} as any;
100
- expect(getHostArch()).toEqual('arm');
+ expect(getHostArch()).toEqual('armv7l');
101
102
103
it('should return uname on arm 6', () => {
0 commit comments