Skip to content

Commit

Permalink
refactor: apply linter fix
Browse files Browse the repository at this point in the history
  • Loading branch information
michalczmiel committed Jan 25, 2024
1 parent ed3ad81 commit 6b7ba69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/file.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ func validateFileCmdArguments(args []string) error {

path := args[0]

if internal.DoesFileExist(path) == false {
if !internal.DoesFileExist(path) {
return fmt.Errorf("file does not exist")
}

Expand Down

0 comments on commit 6b7ba69

Please sign in to comment.