change install.sh

This commit is contained in:
Bartal Læarsson
2025-03-02 01:04:49 +00:00
parent 8521a88f95
commit d85caa714f
7 changed files with 34 additions and 13 deletions
+3 -1
View File
@@ -34,7 +34,9 @@ func LoadDefaultConfig() (*Config, error) {
data, err := os.ReadFile(defaultsPath)
if err != nil {
return nil, fmt.Errorf("failed to read defaults file: %w", err)
return nil, fmt.Errorf("Could not find configuration file. Please run this command from the 'cli' directory of the project repository. "+
"Make sure you are in the correct directory and the file exists at: %s",
defaultsPath)
}
config := &Config{}