Skip to content

Commit 9ae247f

Browse files
Format error message as single line for consistency
Changed multi-line error message to single-line format to maintain consistency with error message patterns throughout the codebase. Co-authored-by: dlevy-msft-sql <[email protected]>
1 parent 6e43792 commit 9ae247f

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

internal/config/viper.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,7 @@ func validateConfigFileExtension(configFile string) error {
7878

7979
// Return error for unsupported extensions
8080
return localizer.Errorf(
81-
"Configuration files must use YAML format with .yaml or .yml extension.\n"+
82-
"The file '%s' has an unsupported extension '%s'.",
81+
"Configuration files must use YAML format with .yaml or .yml extension. The file '%s' has an unsupported extension '%s'.",
8382
configFile, ext)
8483
}
8584

0 commit comments

Comments
 (0)