mirror of
https://github.com/actions/setup-go.git
synced 2026-04-23 13:44:25 +00:00
style: run prettier on cache-save.ts
This commit is contained in:
parent
c948a2c163
commit
4a6270ada6
1 changed files with 3 additions and 1 deletions
|
|
@ -20,7 +20,9 @@ export async function run(earlyExit?: boolean) {
|
||||||
try {
|
try {
|
||||||
const cacheWriteEnabled = core.getInput('cache-write');
|
const cacheWriteEnabled = core.getInput('cache-write');
|
||||||
if (cacheWriteEnabled === 'false') {
|
if (cacheWriteEnabled === 'false') {
|
||||||
core.info('Cache write is disabled (read-only mode). Skipping cache save.');
|
core.info(
|
||||||
|
'Cache write is disabled (read-only mode). Skipping cache save.'
|
||||||
|
);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue