File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ var configCmd = &cobra.Command{
2828 fmt .Println ("Current Working Directory = " , pwd )
2929 fmt .Println ("DevOpsDays web directory = " , webdir )
3030 color .Blue ("Checking your config..." )
31- CheckHugo ()
31+ checkHugo ()
3232 checkGit ()
3333 },
3434}
@@ -38,10 +38,10 @@ func init() {
3838
3939}
4040
41- // CheckHugo tests whether or not a compatible version of the Hugo static site generator is instealled.
41+ // checkHugo tests whether or not a compatible version of the Hugo static site generator is instealled.
4242//
4343// Currently, the list of supported versions is hard-coded using the `supportedVersions` variable, but this should be moved elsewhere eventually.
44- func CheckHugo () {
44+ func checkHugo () {
4545 supportedVersions := map [string ]bool {"0.36.1" : true , "0.37" : true , "0.37.1" : true }
4646 out , err := exec .Command ("hugo" , "version" ).Output ()
4747 if err != nil {
You can’t perform that action at this time.
0 commit comments