cvent/octopus-deploy-cookbook

View on GitHub
libraries/server_scripts.rb

Summary

Maintainability
A
0 mins
Test Coverage

Class has too many lines. [109/100]
Open

class ServerScripts < TemplateScripts
  def create_instance(resource)
    generate_script(create, binding)
  end

Severity: Minor
Found in libraries/server_scripts.rb by rubocop

This cop checks if the length a class exceeds some maximum value. Comment lines can optionally be ignored. The maximum allowed length is configurable.

Add an empty line after magic comments.
Open

#
Severity: Minor
Found in libraries/server_scripts.rb by rubocop

Checks for a newline after the final magic comment.

Example:

# good
# frozen_string_literal: true

# Some documentation for Person
class Person
  # Some code
end

# bad
# frozen_string_literal: true
# Some documentation for Person
class Person
  # Some code
end

There are no issues that match your filters.

Category
Status