fix: string interpolation (#122)

* fix: String interpolation uses backtick

* chore: fmt

* chore: fmt
This commit is contained in:
110416
2024-06-18 09:45:44 +02:00
committed by GitHub
parent 629028e2c7
commit bbcfdc3c11
+2 -2
View File
@@ -113,7 +113,7 @@ function getArch(): Error | string {
case 'arm64': case 'arm64':
return 'aarch64'; return 'aarch64';
default: default:
return Error('Unsupported arch "${process.arch}"'); return Error(`Unsupported arch "${process.arch}"`);
} }
} }
@@ -126,7 +126,7 @@ function getPlatform(): Error | string {
case 'linux': case 'linux':
return 'unknown-linux-musl'; return 'unknown-linux-musl';
default: default:
return Error('Unsupported platform "${process.platform}"'); return Error(`Unsupported platform "${process.platform}"`);
} }
} }