feat: refactoring project
This commit is contained in:
3
node_modules/webpack/lib/formatLocation.js
generated
vendored
3
node_modules/webpack/lib/formatLocation.js
generated
vendored
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user