lib/danger_plugin.rb in danger-clorox-2.0.1 vs lib/danger_plugin.rb in danger-clorox-2.0.2
- old
+ new
@@ -37,10 +37,10 @@
# @param directories [Array<String>] Directories from where clorox will be run. Defaults to current dir.
# @return [void]
#
def check(directories=["."])
# Installs clorox if needed
- system "pip install --target #{ROOT_DIR} clorox" unless clorox_installed?
+ system "pip install --target #{ROOT_DIR} clorox --upgrade" unless clorox_installed?
# Check that this is in the user's PATH after installing
unless clorox_installed?
fail "clorox is not in the user's PATH, or it failed to install"
return