mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 13:26:40 +00:00
8 lines
162 B
Bash
Executable File
8 lines
162 B
Bash
Executable File
#! /usr/bin/env bash
|
|
|
|
if bundle check &> /dev/null && (bundle list | grep rubocop &> /dev/null); then
|
|
exec bundle exec rubocop "$@"
|
|
else
|
|
exec rubocop "$@"
|
|
fi
|