Pre commit hook failure
alkesh26 opened this issue · comments
alkesh26 commented
Issue:
On committing the changes to the branch, the following error is observed
husky > pre-commit (node v10.15.3)
↓ Stashing changes... [skipped]
→ No partially staged files found...
❯ Running linters...
↓ Running tasks for app/**/*.{js.jsx,js,es6,jsx,scss,css} [skipped]
→ No staged files match app/**/*.{js.jsx,js,es6,jsx,scss,css}
❯ Running tasks for {app,test,features,lib}/**/*.{rb,rake,jbuilder}
✖ bundle exec rubocop -a
git add
✖ bundle exec rubocop -a found some errors. Please fix them and try committing again.
Bundler 2 requires Ruby 2.3 or later. Either install bundler 1 or update to a supported Ruby version.
husky > pre-commit hook failed (add --no-verify to bypass)