-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix transaction bug introduced in 8f1f835
Attempting to refactor the transaction detection logic, I inverted the match (returning true if inside a transaction URL, not false if *not* inside a transaction URL) but forgot to invert the if statement to "OR" from "AND". This commit fixes that, and adds some tests to ensure the mistake can't happen again.
- Loading branch information
Showing
2 changed files
with
28 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters