Method: Overcommit::Hook::Shared::NpmInstall#run
- Defined in:
- lib/overcommit/hook/shared/npm_install.rb
#run ⇒ Object
9 10 11 12 13 |
# File 'lib/overcommit/hook/shared/npm_install.rb', line 9 def run result = execute(command) return :fail, result.stderr unless result.success? :pass end |