diff --git a/src/save.ts b/src/save.ts index 24fa720..0b0a7ca 100644 --- a/src/save.ts +++ b/src/save.ts @@ -25,16 +25,16 @@ async function run(): Promise { } if (utils.isExactKeyMatch(primaryKey, state)) { - if (core.getInput(Inputs.Update) === "true") { - core.info( - `Cache hit occurred on the primary key ${primaryKey}, but updates were enabled, so updating cache.` - ); - } else { - core.info( - `Cache hit occurred on the primary key ${primaryKey}, not saving cache.` - ); - return; - } + if (core.getInput(Inputs.Update) === "true") { + core.info( + `Cache hit occurred on the primary key ${primaryKey}, but updates were enabled, so updating cache.` + ); + } else { + core.info( + `Cache hit occurred on the primary key ${primaryKey}, not saving cache.` + ); + return; + } } const cachePaths = utils.getInputAsArray(Inputs.Path, {