Skip to content

Commit

Permalink
fix: throw error for missing promise
Browse files Browse the repository at this point in the history
  • Loading branch information
mint-dewit committed Oct 26, 2020
1 parent b7e3929 commit 5edd810
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hyperdeck.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ class QueuedCommand {
}

resolve(_res: any) {
//
throw new Error('No promise to resolve')
}
reject(_res: any) {
//
throw new Error('No promise to reject')
}
}

Expand Down

0 comments on commit 5edd810

Please sign in to comment.