Commit 77a704f
committed
fix: correctly exclude root module by handling empty string case
The bug was that empty string '' was not being caught by the
'potential_module == "."' check. Now properly convert empty string
to '.' before the root module exclusion check.
This should finally prevent the root module from appearing in
affected modules list.
Signed-off-by: Mark Pollack <[email protected]>1 parent 6c8ecd9 commit 77a704f
1 file changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
| 115 | + | |
| 116 | + | |
115 | 117 | | |
116 | 118 | | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
117 | 122 | | |
| 123 | + | |
118 | 124 | | |
119 | 125 | | |
120 | 126 | | |
| |||
128 | 134 | | |
129 | 135 | | |
130 | 136 | | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
131 | 140 | | |
132 | 141 | | |
133 | 142 | | |
| |||
0 commit comments