File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 4
4
5
5
linters :
6
6
enable :
7
+ - errcheck
7
8
- goimports
8
9
- gofmt
9
10
- gosec
10
11
- gocritic
12
+ - deadcode
13
+ - misspell
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ func init() {
15
15
var listCmd = & cobra.Command {
16
16
Use : "list" ,
17
17
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` ,
19
19
Run : func (cmd * cobra.Command , args []string ) {
20
20
runList (args )
21
21
},
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ func hasLogonUserRight(username string) bool {
64
64
for _ , sid := range getUsersWithLogonUserRights () {
65
65
/* seservicelogonright could either contain the username or the SID
66
66
* 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
68
68
*/
69
69
userSid , err := getSidOfCurrentUser ()
70
70
if err != nil || sid == "" {
You can’t perform that action at this time.
0 commit comments