Skip to content

Commit

Permalink
[sql-hint addon] Treat single quotes like double quotes when looking …
Browse files Browse the repository at this point in the history
  • Loading branch information
marijnh committed Jul 12, 2020
1 parent 0ec0920 commit f5bf57b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addon/hint/sql-hint.js
Expand Up @@ -264,7 +264,7 @@
token.string = token.string.slice(0, cur.ch - token.start);
}

if (token.string.match(/^[.`"\w@][\w$#]*$/g)) {
if (token.string.match(/^[.`"'\w@][\w$#]*$/g)) {
search = token.string;
start = token.start;
end = token.end;
Expand Down

0 comments on commit f5bf57b

Please sign in to comment.