Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
I can't believe I forgot the right string quote character. Javascript, man...
  • Loading branch information
ScottFreeCode authored Mar 5, 2017
1 parent c1b6950 commit ce1415e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/reporters/html.js
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ function makeUrl (s, prefix, suffix) {
search = search.replace(/[?&]f?grep=[^&\s]*/g, '').replace(/^&/, '?');
}

return window.location.href.replace(new RegExp("^(.*?" + escapeRe(window.location.pathname) + ").*$"), "$1") + (search ? search + '&' : '?') + 'grep=' + encodeURIComponent(prefix + escapeRe(s) + suffix);
return window.location.href.replace(new RegExp('^(.*?' + escapeRe(window.location.pathname) + ').*$'), '$1') + (search ? search + '&' : '?') + 'grep=' + encodeURIComponent(prefix + escapeRe(s) + suffix);
}

/**
Expand Down

0 comments on commit ce1415e

Please sign in to comment.