Skip to content

Commit 93cfd43

Browse files
Jay-Lokhandegiggio
authored andcommitted
resolved conflicting condition checking for process.arch === 'riscv64'
1 parent afe4570 commit 93cfd43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ class Installer {
8888
getPlatform(chromedriverVersion) {
8989
const thePlatform = process.platform;
9090
if (thePlatform === 'linux') {
91-
if (process.arch === 'arm64' || process.arch === 's390x' || process.arch === 'x64' || process.arch === 'riscv64') {
91+
if (process.arch === 'arm64' || process.arch === 's390x' || process.arch === 'x64') {
9292
return 'linux64';
9393
} else if (process.arch === 'riscv64') {
9494
// Check if --chromedriver_filepath is provided via env vars

0 commit comments

Comments
 (0)