Skip to content

Commit

Permalink
Cygwin - no icon when settings are (presumably) good #52
Browse files Browse the repository at this point in the history
  • Loading branch information
jvenant committed Feb 3, 2015
1 parent 94b5175 commit f5330f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/pass.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ PassFF.Pass = {

getUrlMatchingItems : function(urlStr) {
let url = new URL(urlStr);
log.debug("Find items for :", url);
log.debug("Search items for :", url);
return this._items.filter(function(item){
let regExp = item.key.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&');
return !item.isField() && url.host.search(new RegExp(regExp,"i")) >= 0;
Expand Down Expand Up @@ -187,7 +187,7 @@ PassFF.Pass = {
let result = null;
let args = new Array();
PassFF.Preferences.commandArgs.forEach(function(val){
if(val && val.trim().length() > 0) args.push(val);
if(val && val.trim().length > 0) args.push(val);
});
arguments.forEach(function(val){
args.push(val);
Expand Down

0 comments on commit f5330f9

Please sign in to comment.