_docker/control.rb
def run_npm_command(cmd, error_message)

  puts " -- Running command '#{cmd}'..."
  out, status = Open3.capture2e("#{cmd}")
  Kernel.abort("#{error_message}: #{out}") unless status.success?
end
#
# Wrapper around calls out to npm
#
Wrapper around calls out to npm
Wrapper around calls out to npm
def run_npm_command(cmd, error_message)
  puts " -- Running command '#{cmd}'..."
  out, status = Open3.capture2e("#{cmd}")
  Kernel.abort("#{error_message}: #{out}") unless status.success?
end
def run_npm_command ( cmd , error_message ) puts " -- Running command '#{cmd}'..." out , status = Open3 . capture2e ( "#{cmd}" ) Kernel . abort ( "#{error_message}: #{out}" ) unless status . success? end
Wrapper around calls out to npm
Wrapper around calls out to npm
cmd
error_message