diff --git a/dist/index.js b/dist/index.js index d2a640f..d0279bd 100644 --- a/dist/index.js +++ b/dist/index.js @@ -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) { diff --git a/src/sccache.ts b/src/sccache.ts index 6fe0cd7..d13d206 100644 --- a/src/sccache.ts +++ b/src/sccache.ts @@ -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 {