From bbcfdc3c118ac239a30d17e6a6034e132bf5f599 Mon Sep 17 00:00:00 2001 From: 110416 Date: Tue, 18 Jun 2024 16:45:44 +0900 Subject: [PATCH] fix: string interpolation (#122) * fix: String interpolation uses backtick * chore: fmt * chore: fmt --- src/setup.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/setup.ts b/src/setup.ts index 2c7a537..6c03161 100644 --- a/src/setup.ts +++ b/src/setup.ts @@ -113,7 +113,7 @@ function getArch(): Error | string { case 'arm64': return 'aarch64'; default: - return Error('Unsupported arch "${process.arch}"'); + return Error(`Unsupported arch "${process.arch}"`); } } @@ -126,7 +126,7 @@ function getPlatform(): Error | string { case 'linux': return 'unknown-linux-musl'; default: - return Error('Unsupported platform "${process.platform}"'); + return Error(`Unsupported platform "${process.platform}"`); } }