Commit 4a813c56 authored by Addshore's avatar Addshore 🏄
Browse files

Fix typos found by Go Report Card

parent 982defd8
......@@ -359,7 +359,7 @@ var mwddMediawikiInstallCmd = &cobra.Command{
fmt.Println("")
fmt.Println("***************************************")
fmt.Println("Installation successfull 🎉")
fmt.Println("Installation successful 🎉")
fmt.Println("User: " + adminUser)
fmt.Println("Pass: " + adminPass)
fmt.Println("Link: " + serverLink)
......
......@@ -24,7 +24,7 @@ import (
var versionCmd = &cobra.Command{
Use: "version",
Short: "Output the version infomation",
Short: "Output the version information",
Run: func(cmd *cobra.Command, args []string) {
fmt.Printf(`GitCommit: %s
GitBranch: %s
......
......@@ -84,7 +84,7 @@ func UpdateFromAddshoreTo(release selfupdate.Release, verboseOutput bool) (succe
return false, "Binary update failed" + err.Error()
}
return true, "Successfully updated to version" + release.Version.String() + "\nRelease note:\n" + release.ReleaseNotes
return true, "successfuly updated to version" + release.Version.String() + "\nRelease note:\n" + release.ReleaseNotes
}
/*UpdateFromAddshore ...*/
......
......@@ -100,5 +100,5 @@ func UpdateFromWikimedia(currentVersion string, gitSummary string, verboseOutput
return false, "Binary update failed" + err.Error()
}
return true, "Successfully updated to version " + newVersionOrMessage
return true, "successfuly updated to version " + newVersionOrMessage
}
......@@ -63,7 +63,7 @@ func IsValidAndFree(port string) error {
func isFree(port string) error {
ln, err := net.Listen("tcp", ":"+port)
if err != nil {
return errors.New("port is not availible to listen on")
return errors.New("port is not available to listen on")
}
ln.Close()
......
......@@ -3,7 +3,7 @@
set -e # Fail on errors
set -x # Output commands
# Output some useful docker version infomation
# Output some useful docker version information
docker --version
docker-compose version
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment