resolve_path_win.go 237 B

12345678910111213
  1. //go:build windows
  2. package self_check
  3. import "path/filepath"
  4. // fix #1046
  5. // include conf.d/*.conf
  6. // inclde sites-enabled/*.conf
  7. func resolvePath(path ...string) string {
  8. return filepath.ToSlash(filepath.Join(path...) + ".conf")
  9. }