Skip to content

Commit

Permalink
chore: Remove temporary code from the scoop executable
Browse files Browse the repository at this point in the history
which was introduced in ScoopInstaller#3419
  • Loading branch information
Chawye Hsu authored Mar 25, 2020
1 parent 4eba120 commit 7938f51
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions bin/scoop.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,6 @@ set-strictmode -off

reset_aliases

# TODO: remove this in a few weeks
if ((Get-LocalBucket) -notcontains 'main') {
warn "The main bucket of Scoop has been separated to 'https://github.com/ScoopInstaller/Main'"
warn "You don't have the main bucket added, adding main bucket for you..."
add_bucket 'main'
exit
}

$commands = commands
if ('--version' -contains $cmd -or (!$cmd -and '-v' -contains $args)) {
Push-Location $(versiondir 'scoop' 'current')
Expand Down

0 comments on commit 7938f51

Please sign in to comment.