Skip to content

Commit 528da45

Browse files
Kostiantyn KostiukYanVugenfirer
authored andcommitted
Fix RuboCop offenses
Signed-off-by: Kostiantyn Kostiuk <[email protected]>
1 parent 5d7f2a3 commit 528da45

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

lib/ether.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def initialize(init_opts)
2424
private
2525

2626
def get_exception_stack(exception)
27-
exception.backtrace.select { |line| line.include?(File.dirname(__FILE__)) } \
27+
exception.backtrace.select { |line| line.include?(File.dirname(__FILE__)) }
2828
.join("\n -- ")
2929
end
3030

lib/rtoolsHCK.rb

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def handle_exceptions
7878
end
7979

8080
def get_exception_stack(exception)
81-
exception.backtrace.select { |line| line.include?(File.dirname(__FILE__)) } \
81+
exception.backtrace.select { |line| line.include?(File.dirname(__FILE__)) }
8282
.join("\n -- ")
8383
end
8484

@@ -904,13 +904,12 @@ def zip_test_result_logs(result,
904904
private
905905

906906
def handle_project_package_json(project_package)
907-
project_package_guest_path = project_package['content'] \
908-
['projectpackagepath']
907+
project_package_guest_path = project_package['content']['projectpackagepath']
909908
project_package['content'].delete('projectpackagepath')
910-
project_package['content']['guestprojectpackagepath'] = \
909+
project_package['content']['guestprojectpackagepath'] =
911910
project_package_guest_path
912911
unless @outp_dir.nil?
913-
project_package['content']['hostprojectpackagepath'] = \
912+
project_package['content']['hostprojectpackagepath'] =
914913
file_to_outp_dir(project_package_guest_path)
915914
end
916915
project_package

0 commit comments

Comments
 (0)