Skip to content

Commit

Permalink
remove trailing space
Browse files Browse the repository at this point in the history
  • Loading branch information
FH-Inway committed Nov 10, 2024
1 parent 3526b72 commit 4702af8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion d365fo.tools/functions/import-d365aaduser.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ function Import-D365AadUser {

$email = ""
if ($EmailValue -eq 'Mail') {
$email = $user.Mail
$email = $user.Mail
}
else {
$email = $user.UserPrincipalName
Expand Down
6 changes: 3 additions & 3 deletions d365fo.tools/internal/scripts/variables.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,10 @@ $Script:IsOnebox = $common.IsOneboxEnvironment

$Script:ServerRole = [ServerRole]::Unknown
$RoleVaule = $(
If ($environment.Monitoring.MARole -eq "" -or $environment.Monitoring.MARole -eq "dev") {
"Development"
If ($environment.Monitoring.MARole -eq "" -or $environment.Monitoring.MARole -eq "dev") {
"Development"
} Else {
$environment.Monitoring.MARole
$environment.Monitoring.MARole
}
)
if ($null -ne $RoleVaule) {
Expand Down

0 comments on commit 4702af8

Please sign in to comment.