diff --git a/lib/aruba/api/core.rb b/lib/aruba/api/core.rb index f9fa7ec11..8296772dd 100644 --- a/lib/aruba/api/core.rb +++ b/lib/aruba/api/core.rb @@ -124,6 +124,7 @@ def cd(dir, &block) # # rubocop:disable Metrics/MethodLength # rubocop:disable Metrics/CyclomaticComplexity + # rubocop:disable Metrics/PercievedComplexity def expand_path(file_name, dir_string = nil) # rubocop:disable Metrics/LineLength message = %(Filename "#{file_name}" needs to be a string. It cannot be nil or empty either. Please use `expand_path('.')` if you want the current directory to be expanded.) @@ -168,7 +169,8 @@ def expand_path(file_name, dir_string = nil) end end # rubocop:enable Metrics/MethodLength - # rubocop:enable Metrics/CyclomaticComplexity + # rubocop:enable Metrics/CyclomaticComplexity + # rubocop:enable Metrics/PercievedComplexity # Run block with environment #