switch pkgConfig to config

pull/4999/head
Sharif Elgamal 2019-10-09 11:45:00 -07:00 committed by GitHub
parent 57e9592270
commit e63ecbe3b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -246,7 +246,7 @@ func (e ErrValidateProfile) Error() string {
// ValidateProfile checks if the profile user is trying to switch exists, else throws error
func ValidateProfile(profile string) (*ErrValidateProfile, bool) {
validProfiles, invalidProfiles, err := pkgConfig.ListProfiles()
validProfiles, invalidProfiles, err := config.ListProfiles()
if err != nil {
out.FailureT(err.Error())
}