Skip to content
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.

Commit

Permalink
log high-level status
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismwendt committed Nov 2, 2019
1 parent 31f7139 commit aabe7f4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions index/indexer.go
Expand Up @@ -27,6 +27,8 @@ func Index(workspace string, excludeContent bool, w io.Writer, toolInfo protocol
return nil, fmt.Errorf("get abspath of project root: %v", err)
}

fmt.Println("Loading packages...")

pkgs, err := packages.Load(&packages.Config{
Mode: packages.NeedName | packages.NeedFiles |
packages.NeedImports | packages.NeedDeps |
Expand All @@ -37,6 +39,8 @@ func Index(workspace string, excludeContent bool, w io.Writer, toolInfo protocol
return nil, fmt.Errorf("load packages: %v", err)
}

fmt.Println("Indexing packages...")

e := &indexer{
projectRoot: projectRoot,
excludeContent: excludeContent,
Expand Down

0 comments on commit aabe7f4

Please sign in to comment.