Skip to content

Commit

Permalink
feat(scoop-prefix): remove unused imports and functions (#4494)
Browse files Browse the repository at this point in the history
  • Loading branch information
pratikpc committed Nov 5, 2021
1 parent 30e7967 commit 458ec90
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions libexec/scoop-prefix.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,13 @@
# Summary: Returns the path to the specified app
param($app)

. "$psscriptroot\..\lib\core.ps1"
. "$psscriptroot\..\lib\help.ps1"
. "$psscriptroot\..\lib\manifest.ps1"
. "$psscriptroot\..\lib\buckets.ps1"

reset_aliases
if(!$app) {
. "$psscriptroot\..\lib\help.ps1"
my_usage
exit 1
}

if(!$app) { my_usage; exit 1 }
. "$psscriptroot\..\lib\core.ps1"

$app_path = versiondir $app 'current' $false
if(!(Test-Path $app_path)) {
Expand Down

0 comments on commit 458ec90

Please sign in to comment.