mirror of
https://github.com/mozilla-actions/sccache-action
synced 2026-09-14 20:13:56 +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':
|
case 'arm64':
|
||||||
return 'aarch64';
|
return 'aarch64';
|
||||||
default:
|
default:
|
||||||
return Error('Unsupported arch "${process.arch}"');
|
return Error(`Unsupported arch "${process.arch}"`);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -126,7 +126,7 @@ function getPlatform(): Error | string {
|
|||||||
case 'linux':
|
case 'linux':
|
||||||
return 'unknown-linux-musl';
|
return 'unknown-linux-musl';
|
||||||
default:
|
default:
|
||||||
return Error('Unsupported platform "${process.platform}"');
|
return Error(`Unsupported platform "${process.platform}"`);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user