File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ def relevant?(line)
104
104
line . start_with? ( *IGNORE_START_WITH ) ||
105
105
line . end_with? ( *IGNORE_END_WITH )
106
106
107
- return false if line =~ /\A [a-zA-Z_][a-zA-Z0-9_\- :]*\( \) / # function declared without the `function` keyword
107
+ return false if line =~ /\A [a-zA-Z_][a-zA-Z0-9_\- :\. ]*\( \) / # function declared without the `function` keyword
108
108
return false if line =~ /\A [^)]+\) \Z / # case statement selector, e.g. `--help)`
109
109
110
110
true
Original file line number Diff line number Diff line change @@ -18,11 +18,11 @@ put-team-key() {
18
18
echo put-team-key # 0
19
19
}
20
20
21
- abc::def () {
21
+ abc::def.fn () {
22
22
echo " ${FUNCNAME[0]} " # 1
23
23
}
24
24
25
25
f1 # 1
26
26
f2 # 1
27
27
__a-bc # 1
28
- abc::def # 1
28
+ abc::def.fn # 1
You can’t perform that action at this time.
0 commit comments