From a4210c39b2e625673cb9db2abba859645c26de6d Mon Sep 17 00:00:00 2001 From: Xuanwo Date: Mon, 9 Jan 2023 23:50:00 +0800 Subject: [PATCH] Fix typo Signed-off-by: Xuanwo --- dist/index.js | 2 +- src/sccache.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 {