chef/supermarket

View on GitHub
src/supermarket/app/models/cookbook.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method publish_version! has 49 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def publish_version!(params, user)
    metadata = params.metadata

    if metadata.privacy &&
       ENV['ENFORCE_PRIVACY'].present? &&
Severity: Minor
Found in src/supermarket/app/models/cookbook.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status