From e96639223371d4f813f07fe4fe37da90a3ab8bf6 Mon Sep 17 00:00:00 2001 From: Dan Ballard Date: Fri, 5 Nov 2021 13:21:48 -0700 Subject: [PATCH] path -> filepath --- features/servers/servers_functionality.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/features/servers/servers_functionality.go b/features/servers/servers_functionality.go index 0a8e7be..4457218 100644 --- a/features/servers/servers_functionality.go +++ b/features/servers/servers_functionality.go @@ -3,12 +3,12 @@ package servers import ( "cwtch.im/cwtch/event" "fmt" - "git.openprivacy.ca/openprivacy/log" "git.openprivacy.ca/cwtch.im/libcwtch-go/constants" "git.openprivacy.ca/cwtch.im/server" "git.openprivacy.ca/openprivacy/connectivity" + "git.openprivacy.ca/openprivacy/log" "os" - "path" + "path/filepath" "sync" ) @@ -46,7 +46,7 @@ func InitServers(acn connectivity.ACN, appdir string) { lock.Lock() defer lock.Unlock() if appServers == nil { - serversDir := path.Join(appdir, "servers") + serversDir := filepath.Join(appdir, "servers") err := os.MkdirAll(serversDir, 0700) if err != nil { log.Errorf("Could not init servers directory: %s", err)