Skip to content

author fallback#160

Merged
dkonieczek merged 2 commits intodevelopfrom
username-fallback
Oct 23, 2025
Merged

author fallback#160
dkonieczek merged 2 commits intodevelopfrom
username-fallback

Conversation

@chrisFrazier77
Copy link
Contributor

No description provided.

Copilot AI review requested due to automatic review settings July 16, 2025 15:50
@chrisFrazier77 chrisFrazier77 linked an issue Jul 16, 2025 that may be closed by this pull request
@chrisFrazier77 chrisFrazier77 requested review from korgon and removed request for Copilot July 16, 2025 15:50
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds a fallback mechanism for the author field when initializing scaffold variables. The change ensures that if user.name is not available, the system will use user.login as an alternative value for the author field.

  • Implements author fallback logic using logical OR operator
  • Prevents potential undefined/null author values in scaffold variables

korgon
korgon previously approved these changes Jul 16, 2025
Copy link
Contributor

@korgon korgon left a comment

Choose a reason for hiding this comment

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

Nice.

@dkonieczek dkonieczek merged commit 09156ea into develop Oct 23, 2025
1 check passed
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.

Author Field Empty

4 participants