node_exporter: fix RuboCop Style/TrailingBodyOnMethodDefinition.
parent
6162cb8a40
commit
49985a5a8d
|
@ -25,7 +25,8 @@ class NodeExporter < Formula
|
|||
prefix.install_metafiles
|
||||
end
|
||||
|
||||
def caveats; <<~EOS
|
||||
def caveats
|
||||
<<~EOS
|
||||
When used with `brew services`, node_exporter's configuration is stored as command line flags in
|
||||
#{etc}/node_exporter.args
|
||||
|
||||
|
@ -39,7 +40,8 @@ class NodeExporter < Formula
|
|||
|
||||
plist_options :manual => "node_exporter"
|
||||
|
||||
def plist; <<~EOS
|
||||
def plist
|
||||
<<~EOS
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
|
|
Loading…
Reference in New Issue