Comply with style checks

This commit is contained in:
GottemHams 2022-07-03 16:24:05 +02:00
parent dca1d8b52c
commit dec8577d18

View File

@ -376,12 +376,13 @@ module Homebrew
base[:StartCalendarInterval] = @cron.reject { |_, value| value == "*" } base[:StartCalendarInterval] = @cron.reject { |_, value| value == "*" }
end end
# Adding all session types has as the primary effect that if you initialise it through e.g. a Background session and you later "physically" # Adding all session types has as the primary effect that if you initialise it through e.g. a Background session
# sign in to the owning account (Aqua session), things shouldn't flip out. # and you later "physically" sign in to the owning account (Aqua session), things shouldn't flip out.
# Also, we're not checking @process_type here because that is used to indicate process priority and not necessarily if it should run in a # Also, we're not checking @process_type here because that is used to indicate process priority and not
# specific session type. Like database services could run with ProcessType Interactive so they have no resource limitations enforced # necessarily if it should run in a specific session type. Like database services could run with ProcessType
# upon them, but they aren't really interactive in the general sense. # Interactive so they have no resource limitations enforced upon them, but they aren't really interactive in the
base[:LimitLoadToSessionType] = ["Aqua", "Background", "LoginWindow", "StandardIO", "System"] # general sense.
base[:LimitLoadToSessionType] = %w[Aqua Background LoginWindow StandardIO System]
base.to_plist base.to_plist
end end