Skip to content

Commit

Permalink
make regex into a continuous string
Browse files Browse the repository at this point in the history
Co-authored-by: Caleb Kiage <[email protected]>
  • Loading branch information
thewahome and calebkiage authored Oct 22, 2024
1 parent 82f5ae2 commit 75b5411
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/check-translations.ps1
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Step 1: Find all instances of vscode.l10n.t() and extract the strings from .ts and .tsx files
$withParamsPattern = 'vscode\.l10n\.t\(["' + "`'" + '`](.+?)["' + "`'" + '`],'
$withParamsPattern = 'vscode\.l10n\.t\(["''`](.+?)["''`],'
Get-ChildItem -Path vscode/microsoft-kiota/src -Recurse -Include *.ts, *.tsx |
Select-String -Pattern $withParamsPattern |
ForEach-Object { $_.Matches.Groups[1].Value } |
Expand Down

0 comments on commit 75b5411

Please sign in to comment.