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 f47249e commit 4aff01aCopy full SHA for 4aff01a
CHANGELOG.md
@@ -2,6 +2,9 @@
2
3
## [Unreleased]
4
5
+### Fixed
6
+- Files are excluded from linting because globs check does not check all globs.
7
+
8
## [1.13.1] - 2023-06-05
9
10
### Fixed
src/main/kotlin/com/github/blarc/gitlab/template/lint/plugin/GitlabLintUtils.kt
@@ -42,10 +42,12 @@ object GitlabLintUtils {
42
for (globString in globs) {
43
val glob = fileSystem.getPathMatcher("glob:$globString")
44
try {
45
- return glob.matches(fileSystem.getPath(text))
+ if (glob.matches(fileSystem.getPath(text))) {
46
+ return true
47
+ }
48
}
49
catch (e: InvalidPathException) {
- return false
50
+ // Ignore invalid paths
51
52
53
return false
0 commit comments