Skip to content

Commit

Permalink
Make error message instructional for the case of lock file being out …
Browse files Browse the repository at this point in the history
…of date

Signed-off-by: Andreas Sommer <andreas.sommer87@googlemail.com>
  • Loading branch information
AndiDog committed Apr 10, 2024
1 parent e5e3fac commit 1b8d525
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/downloader/manager.go
Expand Up @@ -124,7 +124,7 @@ func (m *Manager) Build() error {
return errors.New("the lock file (requirements.lock) is out of sync with the dependencies file (requirements.yaml). Please update the dependencies")
}
} else {
return errors.New("the lock file (Chart.lock) is out of sync with the dependencies file (Chart.yaml). Please update the dependencies")
return errors.New("the lock file (Chart.lock) is out of sync with the dependencies file (Chart.yaml). Please update the dependencies with `helm dependency update`")
}
}

Expand Down

0 comments on commit 1b8d525

Please sign in to comment.