From 3e71631d11ea2e78d970e89a90044c0c2b86da8f Mon Sep 17 00:00:00 2001 From: "jorg.vr" Date: Tue, 29 Oct 2024 10:59:55 +0100 Subject: [PATCH] Fix linting --- app/models/repository.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/repository.rb b/app/models/repository.rb index fcd5cadeb2..95f4bfed74 100644 --- a/app/models/repository.rb +++ b/app/models/repository.rb @@ -85,7 +85,7 @@ def media_path end def commit(msg) - author = if Current.user&.full_name && Current.user&.email + author = if Current.user&.full_name && Current.user.email "#{Current.user.full_name} <#{Current.user.email}>" else 'Dodona '