File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2525
2626### Code Refactoring
2727
28- - ** manifest:** Rename 'Find-Manifest()' to 'Get-Manifest() ([ #4966 ] ( https://github.com/ScoopInstaller/Scoop/issues/4966 ) )
28+ - ** manifest:** Rename 'Find-Manifest()' to 'Get-Manifest() ([ #4966 ] ( https://github.com/ScoopInstaller/Scoop/issues/4966 ) , [ # 4981 ] ( https://github.com/ScoopInstaller/Scoop/issues/4981 ) )
2929
3030### Documentation
3131
Original file line number Diff line number Diff line change @@ -43,11 +43,12 @@ function Get-Manifest($app) {
4343 }
4444 if (! $manifest ) {
4545 # couldn't find app in buckets: check if it's a local path
46- if (! $app.EndsWith (' .json' )) {
47- $app += ' .json'
46+ $appPath = $app
47+ if (! $appPath.EndsWith (' .json' )) {
48+ $appPath += ' .json'
4849 }
49- if (Test-Path $app ) {
50- $url = Convert-Path $app
50+ if (Test-Path $appPath ) {
51+ $url = Convert-Path $appPath
5152 $app = appname_from_url $url
5253 $manifest = url_manifest $url
5354 }
You can’t perform that action at this time.
0 commit comments