Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(scoop-prefix): remove unused imports and functions #4494

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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