Reverting hack since the new incarnation of user is back to proper URL (#3514)
Reverting hack since the new incarnation of user is back to proper URL --- #### Does this PR need a docs update or release note? - [ ] ✅ Yes, it's included - [ ] 🕐 Yes, but in a later PR - [ ] ⛔ No #### Type of change <!--- Please check the type of change your PR introduces: ---> - [ ] 🌻 Feature - [x] 🐛 Bugfix - [ ] 🗺️ Documentation - [ ] 🤖 Supportability/Tests - [x] 💻 CI/Deployment - [ ] 🧹 Tech Debt/Cleanup #### Issue(s) <!-- Can reference multiple issues. Use one of the following "magic words" - "closes, fixes" to auto-close the Github issue. --> * #<issue> #### Test Plan <!-- How will this be tested prior to merging.--> - [ ] 💪 Manual - [ ] ⚡ Unit test - [ ] 💚 E2E
This commit is contained in:
parent
dae9a95c54
commit
708ef23ac5
@ -132,11 +132,6 @@ if (![string]::IsNullOrEmpty($User)) {
|
||||
$domain = $User.Split('@')[1].Split('.')[0]
|
||||
$userNameEscaped = $User.Replace('.', '_').Replace('@', '_')
|
||||
|
||||
# hacky special case because of recreated CI user
|
||||
if ($userNameEscaped -ilike "lynner*") {
|
||||
$userNameEscaped += '1'
|
||||
}
|
||||
|
||||
$siteUrl = "https://$domain-my.sharepoint.com/personal/$userNameEscaped/"
|
||||
|
||||
if ($LibraryNameList.count -eq 0) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user