summaryrefslogtreecommitdiff
path: root/packages/core/src/utils/paths.ts
diff options
context:
space:
mode:
authorJosh Soref <[email protected]>2025-07-21 17:54:44 -0400
committerGitHub <[email protected]>2025-07-21 21:54:44 +0000
commitdc2ac144b7059ec2d66f1e90316df40d3822c8b5 (patch)
tree63c9bece313ae92c841ab2808253c9cc6eaee755 /packages/core/src/utils/paths.ts
parent8be5f8038a50fb5b2010590c8a18a4558da1663c (diff)
Various spelling improvements (#3497)
Signed-off-by: Josh Soref <[email protected]> Co-authored-by: Sandy Tao <[email protected]>
Diffstat (limited to 'packages/core/src/utils/paths.ts')
-rw-r--r--packages/core/src/utils/paths.ts2
1 files changed, 1 insertions, 1 deletions
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) {