module Overcommit::Hook::Shared::YarnInstall
Shared
code used by all YarnInstall
hooks. Runs ‘yarn install` when a change is detected in the repository’s dependencies.
@see yarnpkg.com/
Public Instance Methods
Source
# File lib/overcommit/hook/shared/yarn_install.rb, line 9 def run result = execute(command) return :fail, result.stderr unless result.success? :pass end