modules/post/osx/gather/autologin_password.rb
Method run
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def run
# ensure the user is root (or can read the kcpassword)
unless is_root?
fail_with(Failure::NoAccess, 'Root privileges are required to read kcpassword file')
end