mirror of
https://github.com/hanskokx/arcane_framework.git
synced 2026-05-14 02:19:08 +02:00
Minor fix to fileAndLineParts calculation
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
This commit is contained in:
@@ -203,7 +203,7 @@ class ArcaneLogger {
|
||||
...?parts?.split("(package:").lastOrNull?.split(":"),
|
||||
];
|
||||
|
||||
if (fileAndLineParts.length <= 2) {
|
||||
if (fileAndLineParts.length < 2) {
|
||||
filenameAndLineNumber = fileAndLineParts.firstOrNull;
|
||||
} else {
|
||||
filenameAndLineNumber = "${fileAndLineParts[0]}:${fileAndLineParts[1]}";
|
||||
|
||||
Reference in New Issue
Block a user