Skip to content

Commit

Permalink
fix: Indents
Browse files Browse the repository at this point in the history
  • Loading branch information
kroese committed Dec 14, 2023
1 parent d354970 commit a68ab32
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@ async function run() {
core.setFailed("Unknown status was returned: " + response.status);
}
} catch (error) {
if (error.status === 404) {
console.log("Tag was not found");
} else {
core.setFailed("Unknown status was returned: " + error.status);
console.error(error);
}
if (error.status === 404) {
console.log("Tag was not found");
} else {
core.setFailed("Unknown status was returned: " + error.status);
console.error(error);
}
}

core.setOutput("exists", exists);
Expand Down

0 comments on commit a68ab32

Please sign in to comment.