Commit 48020484 authored by Samir Noir's avatar Samir Noir 🧀
Browse files

Fix rubocop with the last update (1.0.0)

parent 6fdf5323
Pipeline #179849 waiting for manual action with stages
in 22 minutes and 5 seconds
......@@ -2,3 +2,5 @@ AllCops:
TargetRubyVersion: 2.5
Lint/RescueException:
Enabled: false
Lint/MissingSuper:
Enabled: false
......@@ -26,8 +26,4 @@ class ServersController < ResourcesController
site_servers_path
end
end
def links_for_item(item)
super(item)
end
end
......@@ -50,7 +50,7 @@ module Grid5000
def normalize!
@state&.downcase!
@message = nil if @message&.empty?
if @reservation&.is_a?(String)
if @reservation.is_a?(String)
@reservation = begin
Time.parse(@reservation)
rescue StandardError
......
......@@ -295,9 +295,6 @@ module Grid5000
module Errors
class RepositoryError < StandardError
def initialize(message)
super(message)
end
end
class BranchNotFound < RepositoryError
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment