this repo has no description smallweb.run
smallweb
4
fork

Configure Feed

Select the types of activity you want to include in your feed.

remove outdated check

pomdtr 52a21197 803638c9

-8
-8
cmd/git.go
··· 21 21 return fmt.Errorf("invalid path") 22 22 } 23 23 24 - if args[0] != "/" { 25 - return fmt.Errorf("invalid path") 26 - } 27 - 28 24 reposDir := filepath.Join(k.String("dir"), ".smallweb", "repos") 29 25 if err := os.MkdirAll(reposDir, 0755); err != nil { 30 26 return err ··· 88 84 Short: "Git upload-pack", 89 85 Args: cobra.ExactArgs(1), 90 86 RunE: func(cmd *cobra.Command, args []string) error { 91 - if args[0] != "/" { 92 - return fmt.Errorf("invalid path") 93 - } 94 - 95 87 repoDir := filepath.Join(k.String("dir"), ".smallweb", "repos", args[0]) 96 88 uploadCmd := exec.Command("git-upload-pack", repoDir) 97 89