Skip to content

Commit

Permalink
Merge pull request #866 from solidify/bugfix/invalid-email-missing-wa…
Browse files Browse the repository at this point in the history
…rning

Fix compilation error in warning about missing user principal name/email
  • Loading branch information
Alexander-Hjelm authored Sep 30, 2023
2 parents 8997e79 + a09528b commit 17751f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/WorkItemMigrator/JiraExport/JiraProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -378,11 +378,11 @@ public string GetUserEmail(string usernameOrAccountId)
? $"Email is not public for user '{usernameOrAccountId}' in Jira," +
$" using usernameOrAccountId '{usernameOrAccountId}' for mapping." +
$" You may safely ignore this warning, unless there is a subsequent warning about" +
$" the username/accountId being missing in the usermapping file." +
$" the username/accountId being missing in the usermapping file."
: $"Email for user '{usernameOrAccountId}' not found in Jira," +
$" using username '{usernameOrAccountId}' for mapping." +
$" You may safely ignore this warning, unless there is a subsequent warning about" +
$" the username/accountId being missing in the usermapping file." +
$" the username/accountId being missing in the usermapping file."
);
}
email = isUserEmailMissing ? usernameOrAccountId : user.Email;
Expand Down

0 comments on commit 17751f4

Please sign in to comment.