Skip to content

Commit

Permalink
Remove old code to hide edge activated hat compiler errors
Browse files Browse the repository at this point in the history
We've been able to compile them for a while now
  • Loading branch information
GarboMuffin committed Jun 14, 2024
1 parent 1628137 commit 38aa41d
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/lib/vm-listener-hoc.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -134,15 +134,11 @@ const vmListenerHOC = function (WrappedComponent) {
// tw: handling for compile errors
handleCompileError (target, error) {
const errorMessage = `${error}`;
// Ignore certain types of known errors
// TODO: fix the root cause of all of these
if (errorMessage.includes('edge-activated hat')) {
return;
}
// Ignore intentonal errors
if (errorMessage.includes('Script explicitly disables compilation')) {
return;
}

this.props.onCompileError({
sprite: target.getName(),
error: errorMessage,
Expand Down

0 comments on commit 38aa41d

Please sign in to comment.