Skip to content

Commit 45f49be

Browse files
committed
Format chatCommands.ts
1 parent 589ec67 commit 45f49be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/chatCommands.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export function parseRuntimeString(
5353

5454
// Extract username from user@host format, or default to current user
5555
const atIndex = hostPart.indexOf("@");
56-
const user = atIndex > 0 ? hostPart.substring(0, atIndex) : process.env.USER ?? "user";
56+
const user = atIndex > 0 ? hostPart.substring(0, atIndex) : (process.env.USER ?? "user");
5757

5858
// Determine home directory path based on user
5959
// root user's home is /root, all others are /home/<user>

0 commit comments

Comments
 (0)