不要怂,就是干,撸起袖子干!

Commit 72e83e79 by sdepold

allow spacing before and after dots and parenthises

1 parent 95ba7620
Showing with 1 additions and 1 deletions
...@@ -69,7 +69,7 @@ module.exports = (function() { ...@@ -69,7 +69,7 @@ module.exports = (function() {
, hasCalls = false , hasCalls = false
for(var method in QueryInterface.prototype) { for(var method in QueryInterface.prototype) {
var regex = new RegExp('\\.' + method) var regex = new RegExp('[\\s\\n\\r]*\\.[\\s\\n\\r]*' + method)
hasCalls = hasCalls || regex.test(functionString) hasCalls = hasCalls || regex.test(functionString)
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!