mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-27 02:18:41 -05:00
(maint) Fix rubocop violations
This commit fixes minor rubocopy violations in eleven source files. Minor violations are those that include formatting, single quotes, and recently added classes.
This commit is contained in:
parent
42b7d2d222
commit
06100ddea6
11 changed files with 204 additions and 210 deletions
|
|
@ -22,7 +22,7 @@ module Vmpooler
|
|||
|
||||
# Load dashboard components
|
||||
begin
|
||||
require "dashboard"
|
||||
require 'dashboard'
|
||||
rescue LoadError
|
||||
require File.expand_path(File.join(File.dirname(__FILE__), 'dashboard'))
|
||||
end
|
||||
|
|
@ -30,7 +30,7 @@ module Vmpooler
|
|||
use Vmpooler::Dashboard
|
||||
|
||||
# Load API components
|
||||
%w( helpers dashboard reroute v1 ).each do |lib|
|
||||
%w(helpers dashboard reroute v1).each do |lib|
|
||||
begin
|
||||
require "api/#{lib}"
|
||||
rescue LoadError
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue