hacken-in/hacken-in

View on GitHub
config/deploy.rb

Summary

Maintainability
A
0 mins
Test Coverage

Complex method namespace(deploy)::task#setup (22.2)
Open

  task :setup do
    on roles(:app) do
      info "Creating hacken.in environment symlinks"
      execute "ln -sf #{current_path}/infrastructure/uberspace/#{fetch(:stage)}/hacken-in-#{fetch(:stage)} ~/bin/"
      execute "cd #{release_path}; source ~/hacken-in-#{fetch(:stage)}.secrets; bundle exec rake uberspace:print_htaccess > /var/www/virtual/hacken/#{fetch(:vhost)}/.htaccess"
Severity: Minor
Found in config/deploy.rb by flog

Flog calculates the ABC score for methods. The ABC score is based on assignments, branches (method calls), and conditions.

You can read more about ABC metrics or the flog tool

There are no issues that match your filters.

Category
Status