Skip to content

Commit aaab78f

Browse files
committed
Escaped double quotes
1 parent ea51d79 commit aaab78f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

azure-pipelines/powershell-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ jobs:
8989
git config --global user.name "Timothy Wamalwa"
9090
cd microsoftgraph-docs-powershell
9191
$date = Get-Date -Format "dd-MM-yyyy"
92-
$proposedBranch = "weekly_update_help_files_msprodvaluesOne"+$date
92+
$proposedBranch = "weekly_update_help_files_msprodvaluesTwo"+$date
9393
git add .
9494
git commit -m "Updating help files "+$date
9595
git push --set-upstream "https://$(GITHUB_TOKEN)@github.com/MicrosoftDocs/microsoftgraph-docs-powershell.git" $proposedBranch

scripts/MsProdUpdate.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,15 +227,15 @@ function WebScrapping {
227227
}
228228
}
229229
#Remove double qoutes from ms prod
230-
$MsprodContent = $MsprodContent.Trim('"');
230+
$MsprodContent = $MsprodContent.Replace("`"","")
231231
$MetaDataText = "schema: 2.0.0`r`n$MsprodContent"
232232
(Get-Content $File) |
233233
Foreach-Object { $_ -replace 'schema: 2.0.0', $MetaDataText } |
234234
Out-File $File
235235
}
236236
Set-Location microsoftgraph-docs-powershell
237237
$date = Get-Date -Format "dd-MM-yyyy"
238-
$proposedBranch = "weekly_update_help_files_msprodvaluesOne"+$date
238+
$proposedBranch = "weekly_update_help_files_msprodvaluesTwo"+$date
239239
$exists = git branch -l $proposedBranch
240240
if ([string]::IsNullOrEmpty($exists)) {
241241
git checkout -b $proposedBranch

0 commit comments

Comments
 (0)