Skip to content
Closed
Show file tree
Hide file tree
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
5 changes: 2 additions & 3 deletions cli/install/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,9 @@ See the License for the specific language governing permissions and
limitations under the License.
*/

// Package install provides the install subcommand for downloading and installing packages.
package install

// The install subcommand handles the downloading and installation of a package.

import (
"bytes"
"context"
Expand Down Expand Up @@ -98,7 +97,7 @@ func (cmd *installCmd) Execute(ctx context.Context, flags *flag.FlagSet, _ ...an

// We only need to build sources and download indexes if there are any
// non-file goo arguments passed to the install command (usually the case).
if !allFileGoos(flag.Args()) {
if !allFileGoos(flags.Args()) {
repos, err := repo.BuildSources(cmd.sources)
if err != nil {
logger.Errorf("Failed to initialize repos: %v", err)
Expand Down
Loading
Loading