diff --git a/kernel/util/working.go b/kernel/util/working.go index ed91959cc..50cfc1011 100644 --- a/kernel/util/working.go +++ b/kernel/util/working.go @@ -207,7 +207,7 @@ func initWorkspaceDir(workspaceArg string) { WorkspaceDir = workspaceArg } if !gulu.File.IsDir(WorkspaceDir) { - log.Printf("use the default workspace [%s] since the specified workspace [%s] is not a dir", WorkspaceDir, defaultWorkspaceDir) + log.Printf("use the default workspace [%s] since the specified workspace [%s] is not a dir", defaultWorkspaceDir, WorkspaceDir) WorkspaceDir = defaultWorkspaceDir } workspacePaths = append(workspacePaths, WorkspaceDir) diff --git a/kernel/util/working_mobile.go b/kernel/util/working_mobile.go index 465468f5c..9b6d3561e 100644 --- a/kernel/util/working_mobile.go +++ b/kernel/util/working_mobile.go @@ -93,7 +93,7 @@ func initWorkspaceDirMobile(workspaceBaseDir string) { if 0 < len(workspacePaths) { WorkspaceDir = workspacePaths[len(workspacePaths)-1] if !gulu.File.IsDir(WorkspaceDir) { - log.Printf("use the default workspace [%s] since the specified workspace [%s] is not a dir", WorkspaceDir, defaultWorkspaceDir) + log.Printf("use the default workspace [%s] since the specified workspace [%s] is not a dir", defaultWorkspaceDir, WorkspaceDir) WorkspaceDir = defaultWorkspaceDir } workspacePaths[len(workspacePaths)-1] = WorkspaceDir