Skip to content

Commit 3a8cefb

Browse files
committed
fix: Build should now fail on error
1 parent b0859d2 commit 3a8cefb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const run = async () => {
2929
if (data.status === "passed") core.setOutput("file", data.data);
3030
})
3131
.catch(({ response: data }) => {
32-
if (data.status === "failed") {
32+
if (data.error) {
3333
if (!data.reason)
3434
return core.setFailed(
3535
"An unknown error occurred while obfuscating the script. Sorry for the inconvenience."

0 commit comments

Comments
 (0)