Skip to content

Commit 42e1027

Browse files
committed
fix rubocop
1 parent fad20b2 commit 42e1027

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/appium_lib_core/common/device/app_management.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def background_app(duration = 0)
2929

3030
def install_app(path, options = {}) # steep:ignore
3131
args = { appPath: path }
32-
args[:options] = options unless options&.empty?
32+
args[:options] = options unless options && options.empty?
3333

3434
execute :install_app, {}, args
3535
end

0 commit comments

Comments
 (0)