mirror of
https://github.com/morluto/rea.git
synced 2026-11-22 14:35:45 +00:00
fix(maven): classify embedded brackets as literal qualifiers (#12228)
This commit is contained in:
1 parent
eac4a1cd14
commit
ce02c899e8
2 files changed
+22
-1
No files matched your search
@@ -122,7 +122,7 @@ export const requestedVersionKind = (
|
||||
if (format === "gradle-module") {
|
||||
if (GRADLE_RANGE.test(value)) return "range";
|
||||
if (value.endsWith("+") || value.startsWith("latest.")) return "dynamic";
|
||||
} else if (/[[(]/u.test(value)) return "range";
|
||||
} else if (value.startsWith("[") || value.startsWith("(")) return "range";
|
||||
return "literal";
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user