Skip to content

Commit

Permalink
Merge pull request #150 from chalkygames123/master
Browse files Browse the repository at this point in the history
Fix a typo `aggresive` -> `aggressive`
  • Loading branch information
Abroskin Alexander authored Sep 8, 2020
2 parents 621d52a + b4d9e0d commit 278315f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ Add examples to generated lefthook.yml
## 0.6.3 (2019-07-15)
- [Commit](https://github.com/Arkweid/lefthook/commit/0426936f48f248221126f15619932b0dc8c54d7a) Add `-a` means `aggresive` strategy for `install` command
- [Commit](https://github.com/Arkweid/lefthook/commit/0426936f48f248221126f15619932b0dc8c54d7a) Add `-a` means `aggressive` strategy for `install` command
```bash
lefthook install -a # clear .git/hooks dir and reinstall lefthook hooks
```
Expand Down
2 changes: 1 addition & 1 deletion cmd/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ var appFs = afero.NewOsFs()

func init() {
rootCmd.PersistentFlags().BoolVarP(&force, "force", "f", false, "reinstall hooks without checking config version")
rootCmd.PersistentFlags().BoolVarP(&aggressive, "aggresive", "a", false, "remove all hooks from .git/hooks dir and install lefthook hooks")
rootCmd.PersistentFlags().BoolVarP(&aggressive, "aggressive", "a", false, "remove all hooks from .git/hooks dir and install lefthook hooks")
rootCmd.AddCommand(installCmd)
}

Expand Down

0 comments on commit 278315f

Please sign in to comment.