Skip to content

Commit d1da9c0

Browse files
committed
Fix typos
1 parent 84e00fd commit d1da9c0

16 files changed

+22
-22
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@
468468

469469
### Documentation
470470

471-
- **changelog:** Add 'CHANGLOG.md' ([#4600](https://github.com/ScoopInstaller/Scoop/issues/4600))
471+
- **changelog:** Add 'CHANGELOG.md' ([#4600](https://github.com/ScoopInstaller/Scoop/issues/4600))
472472
- **changelog:** Rearrange CHANGELOG ([#4729](https://github.com/ScoopInstaller/Scoop/issues/4729))
473473
- **changelog:** Link CHANGELOG headers to 'releases/tag' ([#4730](https://github.com/ScoopInstaller/Scoop/issues/4730))
474474

@@ -569,7 +569,7 @@
569569
- **autoupdate:** Add $urlNoExt and $basenameNoExt substitutions ([#3742](https://github.com/ScoopInstaller/Scoop/issues/3742))
570570
- **config:** Add configuration option for default architecture ([#3778](https://github.com/ScoopInstaller/Scoop/issues/3778))
571571
- **install:** Follow HTTP redirections when downloading a file ([#3902](https://github.com/ScoopInstaller/Scoop/issues/3902))
572-
- **install:** Let pathes in 'env_add_path' be added ascendantly ([#3788](https://github.com/ScoopInstaller/Scoop/issues/3788), [#3976](https://github.com/ScoopInstaller/Scoop/issues/3976))
572+
- **install:** Let paths in 'env_add_path' be added ascendantly ([#3788](https://github.com/ScoopInstaller/Scoop/issues/3788), [#3976](https://github.com/ScoopInstaller/Scoop/issues/3976))
573573
- **list:** Display main bucket name ([#3759](https://github.com/ScoopInstaller/Scoop/issues/3759))
574574
- **shim:** Add alt-shim support ([#3998](https://github.com/ScoopInstaller/Scoop/issues/3998))
575575
- **scoop-checkup:** Add check_envs_requirements ([#3860](https://github.com/ScoopInstaller/Scoop/issues/3860))

PSScriptAnalyzerSettings.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
Severity = @('Error')
66

77
# Analyze **only** the following rules. Use IncludeRules when you want
8-
# to invoke only a small subset of the defualt rules.
8+
# to invoke only a small subset of the default rules.
99
# IncludeRules = @('PSAvoidDefaultValueSwitchParameter',
1010
# 'PSMisleadingBacktick',
1111
# 'PSMissingModuleManifestField',

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ You can tweak the following `aria2` settings with the `scoop config` command:
100100

101101
## What sort of apps can Scoop install?
102102

103-
The apps that are most likely to get installed fine with Scoop are those referred to as "portable" apps. These apps are compressed files which can run standalone after being extracted. This type of apps does not produce side effects like changing the Windows Registry or placing files outside the app directory.
103+
The apps that are most likely to get installed fine with Scoop are those referred to as "portable" apps. These apps are compressed files which can run standalone after being extracted. This type of app does not produce side effects like changing the Windows Registry or placing files outside the app directory.
104104

105105
Scoop also supports installer files and their uninstallation methods. Likewise, it can handle single-file apps and PowerShell scripts. These do not even need to be compressed. See the [runat](https://github.com/ScoopInstaller/Main/blob/master/bucket/runat.json) package for an example: it is simply a GitHub gist.
106106

bin/checkhashes.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ foreach ($single in Get-ChildItem $Dir -Filter "$App.json" -Recurse) {
6464
$file = $single.FullName
6565
$manifest = parse_json $file
6666

67-
# Skip nighly manifests, since their hash validation is skipped
67+
# Skip nightly manifests, since their hash validation is skipped
6868
if ($manifest.version -eq 'nightly') { continue }
6969

7070
$urls = @()
@@ -166,7 +166,7 @@ foreach ($current in $MANIFESTS) {
166166
$32bit_count = 0
167167
$arm64_count = 0
168168

169-
# 64bit is get, donwloaded and added first
169+
# 64bit is get, downloaded and added first
170170
if ($platforms.Contains('64bit')) {
171171
$64bit_count = $current.manifest.architecture.'64bit'.hash.Count
172172
$current.manifest.architecture.'64bit'.hash = $actuals[0..($64bit_count - 1)]

bin/missing-checkver.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Check if manifest contains checkver and autoupdate property.
44
.PARAMETER App
55
Manifest name.
6-
Wirldcard is supported.
6+
Wildcard is supported.
77
.PARAMETER Dir
88
Location of manifests.
99
.PARAMETER SkipSupported

bin/uninstall.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ function do_uninstall($app, $global) {
4646
rm_shims $app $manifest $global $architecture
4747

4848
# If a junction was used during install, that will have been used
49-
# as the reference directory. Othewise it will just be the version
49+
# as the reference directory. Otherwise it will just be the version
5050
# directory.
5151
$refdir = unlink_current (appdir $app $global)
5252

lib/core.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,7 @@ function Get-AbsolutePath {
610610
Path to manipulate
611611
.OUTPUTS
612612
System.String
613-
Absolute path, may or maynot existed
613+
Absolute path, may or may not existed
614614
#>
615615
[CmdletBinding()]
616616
[OutputType([string])]

lib/decompress.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,10 +134,10 @@ function Expand-7zipArchive {
134134
}
135135
if ($Removal) {
136136
if (($Path -replace '.*\.([^\.]*)$', '$1') -eq '001') {
137-
# Remove splitted 7-zip archive parts
137+
# Remove split 7-zip archive parts
138138
Get-ChildItem "$($Path -replace '\.[^\.]*$', '').???" | Remove-Item -Force
139139
} elseif (($Path -replace '.*\.part(\d+)\.rar$', '$1')[-1] -eq '1') {
140-
# Remove splitted RAR archive parts
140+
# Remove split RAR archive parts
141141
Get-ChildItem "$($Path -replace '\.part(\d+)\.rar$', '').part*.rar" | Remove-Item -Force
142142
} else {
143143
# Remove original archive file

lib/depends.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ function Get-Dependency {
1515
List of app's dependencies
1616
.NOTES
1717
When pipeline input is used, the output will have duplicate items, and should be filtered by 'Select-Object -Unique'.
18-
ALgorithm: http://www.electricmonk.nl/docs/dependency_resolving_algorithm/dependency_resolving_algorithm.html
18+
Algorithm: http://www.electricmonk.nl/docs/dependency_resolving_algorithm/dependency_resolving_algorithm.html
1919
#>
2020
[CmdletBinding()]
2121
[OutputType([Object[]])]

lib/download.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ function Invoke-CachedAria2Download ($app, $version, $manifest, $architecture, $
434434
# Skip blank lines
435435
if ([String]::IsNullOrWhiteSpace($_)) { return }
436436

437-
# Prevent potential overlaping of text when one line is shorter
437+
# Prevent potential overlapping of text when one line is shorter
438438
$len = $Host.UI.RawUI.WindowSize.Width - $_.Length - 20
439439
$blank = if ($len -gt 0) { ' ' * $len } else { '' }
440440
$color = 'Gray'

0 commit comments

Comments
 (0)