feat: refactoring project

This commit is contained in:
Carlos
2024-11-23 14:56:07 -05:00
parent f0c2a50c18
commit 1c6db5818d
2351 changed files with 39323 additions and 60326 deletions

View File

@@ -48,9 +48,8 @@ const formatLocation = loc => {
typeof loc.end.column !== "number"
) {
return `${loc.start.line}-${loc.end.line}`;
} else {
return `${formatPosition(loc.start)}-${formatPosition(loc.end)}`;
}
return `${formatPosition(loc.start)}-${formatPosition(loc.end)}`;
}
if ("start" in loc && loc.start) {
return formatPosition(loc.start);