Skip to content
This repository has been archived by the owner on Apr 3, 2022. It is now read-only.

Commit

Permalink
Fix reversed template arguments in return val
Browse files Browse the repository at this point in the history
  • Loading branch information
spikespaz committed Jul 6, 2020
1 parent 8efa1c3 commit d82affa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/common.d
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ string[string] getQueryParams(const string uri) {

/// Return a tuple of the search term that was typed in (if any),
/// the URL that was typed (if any), and the URL that was selected from the search results panel (if any)
Tuple!("searchTerm", string, "enteredUrl", string, "selectedUrl", string) getSearchInfo(const string uri) {
Tuple!(string, "searchTerm", string, "enteredUrl", string, "selectedUrl") getSearchInfo(const string uri) {
if (!uri.toLower().startsWith("microsoft-edge:"))
throw new Exception("Not a 'MICROSOFT-EDGE' URI: " ~ uri);

Expand Down

0 comments on commit d82affa

Please sign in to comment.