From 40f697e2273a27abd3ce2efb5ed814c6070a4a89 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Sun, 21 Jan 2018 18:37:22 +0000 Subject: [PATCH] Fix bug in rubocop-bundle-safe --- bin/rubocop-bundle-safe | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/rubocop-bundle-safe b/bin/rubocop-bundle-safe index 9794f24..4cac10f 100755 --- a/bin/rubocop-bundle-safe +++ b/bin/rubocop-bundle-safe @@ -1,6 +1,6 @@ #! /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 "$@" else exec rubocop "$@"