Skip to content

Commit faf0359

Browse files
committed
Remove commented-out code
Signed-off-by: Matt Stratton <matt.stratton@gmail.com>
1 parent 0728800 commit faf0359

1 file changed

Lines changed: 0 additions & 23 deletions

File tree

commands/root.go

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -89,26 +89,3 @@ func initConfig() {
8989
fmt.Println("Using config file:", viper.ConfigFileUsed())
9090
}
9191
}
92-
93-
// func setWebdir() string {
94-
// if os.Getenv("DODPATH") == "" {
95-
// pwd, err := os.Getwd()
96-
// if err != nil {
97-
// fmt.Println(err)
98-
// os.Exit(1)
99-
// }
100-
// return pwd
101-
// }
102-
// s := os.Getenv("DODPATH")
103-
// s = strings.TrimSuffix(s, "/")
104-
// s = strings.TrimSuffix(s, "\\")
105-
// return s
106-
// }
107-
108-
// func validateWebDir(webdir string) bool {
109-
// filename := "a-nonexistent-file"
110-
// if _, err := os.Stat(filename); os.IsNotExist(err) {
111-
// fmt.Printf("file does not exist")
112-
// }
113-
114-
// }

0 commit comments

Comments
 (0)