Skip to content

Commit

Permalink
more repos into the smallweb dir
Browse files Browse the repository at this point in the history
  • Loading branch information
pomdtr committed Feb 20, 2025
1 parent 5d7df97 commit 55095db
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmd/up.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ import (

_ "embed"

"github.com/adrg/xdg"
"github.com/caddyserver/certmagic"
"github.com/charmbracelet/keygen"
"github.com/charmbracelet/ssh"
Expand Down Expand Up @@ -305,7 +304,7 @@ func NewCmdUp() *cobra.Command {
baseDir = filepath.Join(k.String("dir"), sess.User())
}

gitCmd := NewCmdGit(baseDir, filepath.Join(xdg.CacheHome, "smallweb", "repos", k.String("domain")))
gitCmd := NewCmdGit(baseDir, filepath.Join(k.String("dir"), ".smallweb", "repos"))
gitCmd.SetArgs(args)

gitCmd.SetOut(sess)
Expand Down

0 comments on commit 55095db

Please sign in to comment.