parent
							
								
									94dc9265cb
								
							
						
					
					
						commit
						a559dfaa6e
					
				|  | @ -1,3 +1,8 @@ | |||
| #!/bin/bash | ||||
| echo "Rubocop $(bundle exec rubocop --version)" | ||||
| bundle exec rubocop -D $@ | ||||
| success=$? | ||||
| if ((success != 0)); then | ||||
|    echo -e "\nTry running \`script/fmt -a\` to automatically fix errors" | ||||
| fi | ||||
| exit $success | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue