mirror of
https://github.com/actions/setup-node.git
synced 2026-03-14 08:44:29 +00:00
style: run prettier on cache-save.ts
This commit is contained in:
parent
974c02c884
commit
db56306c3a
@ -18,7 +18,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…
Reference in New Issue
Block a user