We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b0859d2 commit 3a8cefbCopy full SHA for 3a8cefb
src/index.js
@@ -29,7 +29,7 @@ const run = async () => {
29
if (data.status === "passed") core.setOutput("file", data.data);
30
})
31
.catch(({ response: data }) => {
32
- if (data.status === "failed") {
+ if (data.error) {
33
if (!data.reason)
34
return core.setFailed(
35
"An unknown error occurred while obfuscating the script. Sorry for the inconvenience."
0 commit comments