Skip to content

fix(jh): default to logged in user if username not provided#17

Merged
thelonewolf1603 merged 1 commit intomainfrom
nd/clone-default-username
Feb 12, 2026
Merged

fix(jh): default to logged in user if username not provided#17
thelonewolf1603 merged 1 commit intomainfrom
nd/clone-default-username

Conversation

@thelonewolf1603
Copy link
Contributor

@thelonewolf1603 thelonewolf1603 commented Jan 28, 2026

fixes #5

@thelonewolf1603 thelonewolf1603 force-pushed the nd/clone-default-username branch 2 times, most recently from c0a5fd8 to 361f370 Compare January 29, 2026 10:26
return fmt.Errorf("failed to get user info for default username: %w", err)
}
username = userInfo.Username
projectName = projectIdentifier
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

projectName = projectIdentifier
Is this intended ? Looks unrelated to PR

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

its an argument to the function, if you expand above

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

but looks like its just assigned and not used anywhere?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the projectName is used right? in line 236

@thelonewolf1603 thelonewolf1603 merged commit f859554 into main Feb 12, 2026
2 checks passed
@thelonewolf1603 thelonewolf1603 deleted the nd/clone-default-username branch February 12, 2026 07:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

clone without username should default to logged in user's username

2 participants