Class: GithubFlowReadiness::Checks::NpmExactPins

Inherits:
Base
  • Object
show all
Defined in:
lib/core/github_flow_readiness/checks.rb

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from GithubFlowReadiness::Checks::Base

Instance Method Details

#callObject



136
137
138
139
140
# File 'lib/core/github_flow_readiness/checks.rb', line 136

def call
  return service.package_json_parse_error_result if service.package_json_parse_error

  service.exact_pin_registry_result(service.npm_registry_check)
end