Skip to content

Commit

Permalink
refactor: path -> filepath
Browse files Browse the repository at this point in the history
  • Loading branch information
jdkato committed Jan 8, 2024
1 parent 2734f93 commit 48ad310
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions internal/core/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import (
"encoding/json"
"io"
"os"
"path"
"path/filepath"
"strings"

Expand Down Expand Up @@ -70,7 +69,7 @@ func DefaultConfig() (string, error) {
if err != nil {
return "", err
}
return path.Join(found, "vale", ".vale.ini"), nil
return filepath.Join(found, "vale", ".vale.ini"), nil
}

// DefaultStylesPath returns the path to the default styles directory.
Expand Down

0 comments on commit 48ad310

Please sign in to comment.