fog/fog-azure-rm

View on GitHub
lib/fog/azurerm/requests/storage/copy_blob.rb

Summary

Maintainability
A
35 mins
Test Coverage
F
46%

Method copy_blob has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

        def copy_blob(destination_container, destination_blob, source_container, source_blob, options = {})
Severity: Minor
Found in lib/fog/azurerm/requests/storage/copy_blob.rb - About 35 mins to fix

    %w-literals should be delimited by [ and ].
    Open

              %w(abc123 pending)

    This cop enforces the consistent usage of %-literal delimiters.

    Specify the 'default' key to set all preferred delimiters at once. You can continue to specify individual preferred delimiters to override the default.

    Example:

    # Style/PercentLiteralDelimiters:
    #   PreferredDelimiters:
    #     default: '[]'
    #     '%i':    '()'
    
    # good
    %w[alpha beta] + %i(gamma delta)
    
    # bad
    %W(alpha #{beta})
    
    # bad
    %I(alpha beta)

    There are no issues that match your filters.

    Category
    Status