From b167854c180dcbd8442ee8891e37b2a199d0ce53 Mon Sep 17 00:00:00 2001 From: "Jeremy W. Chalfant" Date: Wed, 23 Dec 2015 15:52:30 -0600 Subject: [PATCH] my rubocop is different --- lib/resources/service.rb | 2 +- lib/resources/user.rb | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/resources/service.rb b/lib/resources/service.rb index 9af3ae64a..315659f96 100644 --- a/lib/resources/service.rb +++ b/lib/resources/service.rb @@ -188,7 +188,7 @@ class SrcMstr < ServiceManager private - # rubocop:disable Style/TrailingComma + # #rubocop:disable Style/TrailingComma def enabled_rc_tcpip? if inspec.command( "grep -v ^# /etc/rc.tcpip | grep 'start ' | grep -Eq '(/{0,1}| )#{@name} '" diff --git a/lib/resources/user.rb b/lib/resources/user.rb index 8b489324d..4b611d3ea 100644 --- a/lib/resources/user.rb +++ b/lib/resources/user.rb @@ -292,7 +292,6 @@ class AixUser < UnixUser } end - # rubocop:disable Style/TrailingComma def credentials(username) cmd = inspec.command( "lssec -c -f /etc/security/user -s #{username} -a minage -a maxage -a pwdwarntime"