Skip to content

Commit acd6fef

Browse files
committed
Replace console as throw
1 parent dc277f0 commit acd6fef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/actions/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ async function run() {
2929
})
3030

3131
if (remoteRelease.data.name === packageJSON.version.toString())
32-
console.log('No version change detected, skipping build.')
32+
throw new Error('No version change detected, skipping build.')
3333
}
3434
catch { /* If endpoint throws, it means no release yet */ }
3535
}

0 commit comments

Comments
 (0)