From dc2ac144b7059ec2d66f1e90316df40d3822c8b5 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 21 Jul 2025 17:54:44 -0400 Subject: Various spelling improvements (#3497) Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> Co-authored-by: Sandy Tao --- packages/core/src/utils/paths.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/core/src/utils/paths.ts') diff --git a/packages/core/src/utils/paths.ts b/packages/core/src/utils/paths.ts index 16adbee4..3382c588 100644 --- a/packages/core/src/utils/paths.ts +++ b/packages/core/src/utils/paths.ts @@ -44,7 +44,7 @@ export function shortenPath(filePath: string, maxLen: number = 35): string { // Handle cases with no segments after root (e.g., "/", "C:\") or only one segment if (segments.length <= 1) { - // Fallback to simple start/end truncation for very short paths or single segments + // Fall back to simple start/end truncation for very short paths or single segments const keepLen = Math.floor((maxLen - 3) / 2); // Ensure keepLen is not negative if maxLen is very small if (keepLen <= 0) { -- cgit v1.2.3