File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44
55linters :
66 enable :
7+ - errcheck
78 - goimports
89 - gofmt
910 - gosec
1011 - gocritic
12+ - deadcode
13+ - misspell
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ func init() {
1515var listCmd = & cobra.Command {
1616 Use : "list" ,
1717 Short : "List data files embedded in the crc binary" ,
18- Long : `List all the data files wich were embedded in the crc binary` ,
18+ Long : `List all the data files which were embedded in the crc binary` ,
1919 Run : func (cmd * cobra.Command , args []string ) {
2020 runList (args )
2121 },
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ func hasLogonUserRight(username string) bool {
6464 for _ , sid := range getUsersWithLogonUserRights () {
6565 /* seservicelogonright could either contain the username or the SID
6666 * the SID has a * at the beginning which needs to be removed to match with user's sid
67- * if its a username it doesn't have the '*' in the begining
67+ * if its a username it doesn't have the '*' in the beginning
6868 */
6969 userSid , err := getSidOfCurrentUser ()
7070 if err != nil || sid == "" {
You can’t perform that action at this time.
0 commit comments