mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 09:26:42 +00:00
Fix bug in rubocop-bundle-safe
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
#! /usr/bin/env bash
|
#! /usr/bin/env bash
|
||||||
|
|
||||||
if bundle check &>/dev/null && (bundle list | grep rubocop) &>/dev/null; then
|
if bundle check &>/dev/null && (bundle list | grep rubocop &>/dev/null); then
|
||||||
exec bundle exec rubocop "$@"
|
exec bundle exec rubocop "$@"
|
||||||
else
|
else
|
||||||
exec rubocop "$@"
|
exec rubocop "$@"
|
||||||
|
|||||||
Reference in New Issue
Block a user