Skip to content
This repository has been archived by the owner on Jul 12, 2022. It is now read-only.

Fix load repo in root #2

Merged
merged 1 commit into from
Apr 8, 2020
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
6 changes: 4 additions & 2 deletions pkg/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,10 @@ func (o *rootCmd) checkSession(commandPath string) error {
return err
}

if err := o.repoLoader.Load(); err != nil {
return err
if env.Edition == env.Team {
if err := o.repoLoader.Load(); err != nil {
return err
}
}

fmt.Println("Session created successfully!")
Expand Down