We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f57145 commit 8d73a20Copy full SHA for 8d73a20
lib/bashcov/lexer.rb
@@ -104,7 +104,7 @@ def relevant?(line)
104
line.start_with?(*IGNORE_START_WITH) ||
105
line.end_with?(*IGNORE_END_WITH)
106
107
- return false if line =~ /\A[a-zA-Z_][a-zA-Z0-9_\-:]*\(\)/ # function declared without the `function` keyword
+ return false if line =~ /\A[a-zA-Z_][a-zA-Z0-9_\-:\.]*\(\)/ # function declared without the `function` keyword
108
return false if line =~ /\A[^)]+\)\Z/ # case statement selector, e.g. `--help)`
109
110
true
0 commit comments