Signed-off-by: Xuanwo <github@xuanwo.io>
This commit is contained in:
Xuanwo
2023-01-09 23:50:00 +08:00
parent a2811a1f48
commit a4210c39b2
2 changed files with 2 additions and 2 deletions

2
dist/index.js vendored
View File

@@ -74,7 +74,7 @@ function getFilename(version) {
return `sccache-${version}-${getArch()}-${getPlatform()}.${getExtension()}`;
}
function getDirname(version) {
return `sccache-${version}-${getArch()}-${getPlatform()}}`;
return `sccache-${version}-${getArch()}-${getPlatform()}`;
}
function getArch() {
switch (process.arch) {

View File

@@ -51,7 +51,7 @@ function getFilename(version: string): Error | string {
}
function getDirname(version: string): Error | string {
return `sccache-${version}-${getArch()}-${getPlatform()}}`;
return `sccache-${version}-${getArch()}-${getPlatform()}`;
}
function getArch(): Error | string {