File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,12 +9,12 @@ import (
99
1010type profileOption func (* Profile ) error
1111
12- func WithPacmanCacheDir (dir string ) profileOption {
13- return func (p * Profile ) error {
14- p .PacmanCacheDir = dir
15- return nil
16- }
17- }
12+ // func WithPacmanCacheDir(dir string) profileOption {
13+ // return func(p *Profile) error {
14+ // p.PacmanCacheDir = dir
15+ // return nil
16+ // }
17+ // }
1818
1919func WithModulesPath (dir string ) profileOption {
2020 return func (p * Profile ) error {
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ func generateCmd() *cobra.Command {
3434 },
3535 RunE : func (cmd * cobra.Command , args []string ) error {
3636 configDir := args [0 ]
37- configName := path .Base (configDir )
37+ // configName := path.Base(configDir)
3838
3939 bootloadersPath := cmd .Parent ().PersistentFlags ().Lookup ("bootloaders" ).Value .String ()
4040 modulesPath := cmd .Parent ().PersistentFlags ().Lookup ("modules" ).Value .String ()
You can’t perform that action at this time.
0 commit comments