lib/volt/cli/asset_compile.rb

Summary

Maintainability
A
2 hrs
Test Coverage

Method write_files_and_manifest has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    def write_files_and_manifest
      asset_files = AssetFiles.from_cache(@volt_app.app_url, 'main', @volt_app.component_paths)
      # Write a temp css file
      js = asset_files.javascript(@volt_app)
      css = asset_files.css
Severity: Minor
Found in lib/volt/cli/asset_compile.rb - About 1 hr to fix

    Method compile has 26 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        def compile
          say "Starting Precompile...", :red
          require 'fileutils'
          ENV['SERVER'] = 'true'
          ENV['MAPS'] = 'false'
    Severity: Minor
    Found in lib/volt/cli/asset_compile.rb - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status