diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/assets/path.go | 4 | ||||
-rw-r--r-- | core/assets/path_test.go | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/core/assets/path.go b/core/assets/path.go index 46b883b1c..abe4638d0 100644 --- a/core/assets/path.go +++ b/core/assets/path.go @@ -8,9 +8,9 @@ import ( // Path returns the path to the folder // where the application may store data. This -// currently resolves to ~/.caddy +// currently resolves to ~/.coredns func Path() string { - return filepath.Join(userHomeDir(), ".caddy") + return filepath.Join(userHomeDir(), ".coredns") } // userHomeDir returns the user's home directory according to diff --git a/core/assets/path_test.go b/core/assets/path_test.go index 374f813af..50e8841d9 100644 --- a/core/assets/path_test.go +++ b/core/assets/path_test.go @@ -6,7 +6,7 @@ import ( ) func TestPath(t *testing.T) { - if actual := Path(); !strings.HasSuffix(actual, ".caddy") { + if actual := Path(); !strings.HasSuffix(actual, ".coredns") { t.Errorf("Expected path to be a .caddy folder, got: %v", actual) } } |