diff options
author | Sean McGivern <sean@gitlab.com> | 2017-03-01 11:00:37 +0000 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2017-03-01 15:28:10 +0000 |
commit | 811e598f607235d89e71d09d99538ee4dee3ffed (patch) | |
tree | 7608961ebb9c672836dd2e3f03eb56920e7b4ef3 /app/services/issues | |
parent | 8dd097a91530e4b047c4b391f21047c7d29d310d (diff) | |
download | gitlab-ce-811e598f607235d89e71d09d99538ee4dee3ffed.tar.gz |
Enable and autocorrect the CustomErrorClass cop
Diffstat (limited to 'app/services/issues')
-rw-r--r-- | app/services/issues/move_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/issues/move_service.rb b/app/services/issues/move_service.rb index a2a5f57d069..711f4035c55 100644 --- a/app/services/issues/move_service.rb +++ b/app/services/issues/move_service.rb @@ -1,6 +1,6 @@ module Issues class MoveService < Issues::BaseService - class MoveError < StandardError; end + MoveError = Class.new(StandardError) def execute(issue, new_project) @old_issue = issue |