We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b6812d2 commit 96e6111Copy full SHA for 96e6111
scripts/promoteUnshipped.ps1
@@ -1,5 +1,5 @@
1
$nullableConstant = "#nullable enable"
2
-$unshippedDocuments = ls *.Unshipped* -R | Select-Object -ExpandProperty FullName
+$unshippedDocuments = Get-ChildItem -Filter *.Unshipped* -Recurse | Select-Object -ExpandProperty FullName
3
foreach ($unshippedDocumentPath in $unshippedDocuments) {
4
$shippedDocumentPath = $unshippedDocumentPath -replace '\.Unshipped', '.Shipped'
5
$unshippedDocumentContent = Get-Content $unshippedDocumentPath -Raw
0 commit comments