From 804998fae23956a6c2d6ce5d52269f2c7fe7153e Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sat, 14 Mar 2020 19:45:41 +0000 Subject: [PATCH] proftpd: fix RuboCop Style/TrailingBodyOnMethodDefinition. --- Formula/proftpd.rb | 53 +++++++++++++++++++++++----------------------- 1 file changed, 27 insertions(+), 26 deletions(-) diff --git a/Formula/proftpd.rb b/Formula/proftpd.rb index 7bf9b4f1641..d1fa79c2439 100644 --- a/Formula/proftpd.rb +++ b/Formula/proftpd.rb @@ -28,32 +28,33 @@ class Proftpd < Formula plist_options :manual => "proftpd" - def plist; <<~EOS - - - - - Label - #{plist_name} - RunAtLoad - - KeepAlive - - ProgramArguments - - #{opt_sbin}/proftpd - - UserName - root - WorkingDirectory - #{HOMEBREW_PREFIX} - StandardErrorPath - /dev/null - StandardOutPath - /dev/null - - - EOS + def plist + <<~EOS + + + + + Label + #{plist_name} + RunAtLoad + + KeepAlive + + ProgramArguments + + #{opt_sbin}/proftpd + + UserName + root + WorkingDirectory + #{HOMEBREW_PREFIX} + StandardErrorPath + /dev/null + StandardOutPath + /dev/null + + + EOS end test do