File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -231,16 +231,16 @@ export def "check pr" [
231231# set up git hooks to run:
232232# - `toolkit fmt --check --verbose` on `git commit`
233233# - `toolkit fmt --check --verbose` and `toolkit clippy --verbose` on `git push`
234- export def set -git-hooks [] {
234+ export def setup -git-hooks [] {
235235 if $nu .os-info.name == windows {
236236 return (print " This git hook isn't available on Windows. Sorry!" )
237237 }
238238
239239 print " This command will change your local git configuration and hence modify your development workflow. Are you sure you want to continue? [y]"
240240 if (input ) == " y" {
241- print $" running (' toolkit set -git-hooks' | pretty-print-command )"
241+ print $" running (' toolkit setup -git-hooks' | pretty-print-command )"
242242 git config -- local core.hooksPath .githooks
243243 } else {
244- print $" aborting (' toolkit set -git-hooks' | pretty-print-command )"
244+ print $" aborting (' toolkit setup -git-hooks' | pretty-print-command )"
245245 }
246246}
You can’t perform that action at this time.
0 commit comments