Skip to content

Commit

Permalink
delete: continue_anyway returning from function
Browse files Browse the repository at this point in the history
  • Loading branch information
YUUU23 committed Jul 12, 2024
1 parent 366f014 commit 32ed89b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions public/electron/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -385,9 +385,6 @@ async function setUpPort() {
function handleEventSend(code) {
log.info(`Sending USB event: ${code}`);

// Early return when running in development (no trigger port is expected)
if (CONTINUE_ANYWAY) return;

if (TRIGGER_PORT !== undefined) {
sendToPort(TRIGGER_PORT, code);
} else {
Expand Down

0 comments on commit 32ed89b

Please sign in to comment.