Skip to content

Commit 598dce0

Browse files
Fix trailing whitespace in viper.go
Co-authored-by: dlevy-msft-sql <[email protected]>
1 parent 3a206e4 commit 598dce0

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

internal/config/viper.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,17 +64,17 @@ func GetConfigFileUsed() string {
6464
// Returns an error if the extension is not supported.
6565
func validateConfigFileExtension(configFile string) error {
6666
ext := strings.ToLower(filepath.Ext(configFile))
67-
67+
6868
// Allow no extension (for default sqlconfig file)
6969
if ext == "" {
7070
return nil
7171
}
72-
72+
7373
// Allow .yaml and .yml extensions
7474
if ext == ".yaml" || ext == ".yml" {
7575
return nil
7676
}
77-
77+
7878
// Return error for unsupported extensions
7979
return localizer.Errorf(
8080
"Configuration files must use YAML format with .yaml or .yml extension.\n"+

0 commit comments

Comments
 (0)