Skip to content

Commit 9746356

Browse files
Fix spelling errors caught by codespell
1 parent f4b7a38 commit 9746356

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/linters/.textlintrc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -488,15 +488,15 @@
488488
"npm"
489489
],
490490
[
491-
"environemnt(s)?",
491+
"environment(s)?",
492492
"environment$1"
493493
],
494494
[
495495
"flacky test(s)?",
496496
"flaky test$1"
497497
],
498498
[
499-
"pacakge(s)?",
499+
"package(s)?",
500500
"package$1"
501501
],
502502
[

src/helpers/Build/Build-PSModuleManifest.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@
362362
$tags = $PSData.Keys -contains 'Tags' ? ($PSData.Tags).Count -gt 0 ? $PSData.Tags : $repoLabels : $repoLabels
363363
$tags | ForEach-Object { $manifestTags.Add($_) }
364364
'Windows', 'Linux', 'MacOS' | ForEach-Object { $manifestTags.Add($_) }
365-
# Add tags for compatability mode. https://docs.microsoft.com/en-us/powershell/scripting/developer/module/how-to-write-a-powershell-module-manifest?view=powershell-7.1#compatibility-tags
365+
# Add tags for compatibility mode. https://docs.microsoft.com/en-us/powershell/scripting/developer/module/how-to-write-a-powershell-module-manifest?view=powershell-7.1#compatibility-tags
366366
if ($manifest.CompatiblePSEditions -contains 'Desktop') {
367367
if ($manifestTags -notcontains 'PSEdition_Desktop') {
368368
$manifestTags.Add('PSEdition_Desktop')

src/helpers/Build/Build-PSModuleRootModule.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,11 +134,11 @@ $MyInvocation.MyCommand.ScriptBlock.Module.OnRemove = {
134134
Add-Content -Path $rootModuleFile -Force -Value @'
135135
[Diagnostics.CodeAnalysis.SuppressMessageAttribute(
136136
'PSAvoidAssignmentToAutomaticVariable', 'IsWindows',
137-
Justification = 'IsWindows doesnt exist in PS5.1'
137+
Justification = 'IsWindows does not exist in PS5.1'
138138
)]
139139
[Diagnostics.CodeAnalysis.SuppressMessageAttribute(
140140
'PSUseDeclaredVarsMoreThanAssignments', 'IsWindows',
141-
Justification = 'IsWindows doesnt exist in PS5.1'
141+
Justification = 'IsWindows does not exist in PS5.1'
142142
)]
143143
'@
144144

0 commit comments

Comments
 (0)