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 9, 2024
1 parent e5e3fac commit 5d06d37
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`.")

Check warning on line 127 in pkg/downloader/manager.go

View workflow job for this annotation

GitHub Actions / golangci-lint

error-strings: error strings should not be capitalized or end with punctuation or a newline (revive)
}
}

Expand Down

0 comments on commit 5d06d37

Please sign in to comment.