mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2026-03-21 15:05:56 +03:00
style: run prettier on cache-save.ts
This commit is contained in:
parent
974c02c884
commit
db56306c3a
1 changed files with 3 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue