Remove else branch

This commit is contained in:
Luc Perkins 2024-06-03 15:51:58 -07:00
parent 6a141808e0
commit e789896996
No known key found for this signature in database
GPG key ID: 16DB1108FB591835
3 changed files with 26 additions and 27 deletions

3
dist/index.js generated vendored
View file

@ -95536,7 +95536,7 @@ var MagicNixCacheAction = class extends DetSysAction {
async post() {
if (!this.strictMode && this.mainError) {
this.exitWithWarning(this.mainError);
} else {
}
if (this.noopMode) {
core.debug(TEXT_NOOP);
return;
@ -95549,7 +95549,6 @@ var MagicNixCacheAction = class extends DetSysAction {
}
await this.tearDownAutoCache();
}
}
async setUpAutoCache() {
const requiredEnv = [
"ACTIONS_CACHE_URL",

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

View file

@ -111,7 +111,8 @@ class MagicNixCacheAction extends DetSysAction {
// then the post phase is skipped with a warning.
if (!this.strictMode && this.mainError) {
this.exitWithWarning(this.mainError);
} else {
}
if (this.noopMode) {
actionsCore.debug(TEXT_NOOP);
return;
@ -126,7 +127,6 @@ class MagicNixCacheAction extends DetSysAction {
await this.tearDownAutoCache();
}
}
async setUpAutoCache(): Promise<void> {
const requiredEnv = [