mirror of
https://github.com/mozilla-actions/sccache-action
synced 2026-09-07 20:04:02 +00:00
fix: string interpolation (#122)
* fix: String interpolation uses backtick * chore: fmt * chore: fmt
This commit is contained in:
+2
-2
@@ -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}"`);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user