Skip to content

Commit b3eafe7

Browse files
committed
fix: Remove unused code
1 parent 891806d commit b3eafe7

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

alteriso/src/internal/archiso/profile_new.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ import (
99

1010
type 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

1919
func WithModulesPath(dir string) profileOption {
2020
return func(p *Profile) error {

alteriso/src/internal/cmd/profile/generate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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()

0 commit comments

Comments
 (0)