Skip to content

Commit dec00b8

Browse files
committed
Fix rubocop offenses
1 parent e3c3919 commit dec00b8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/bcu/command/upgrade.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ def mas_load_outdated
265265

266266
def parse_mas_app(app)
267267
match = app.strip.split(/^(\d+)\s+(.+?)\s+\((.+)\)$/)
268-
version_upgrade = match[3].split(" -> ")
268+
version_upgrade = match[3].split(" -> ")
269269
if version_upgrade.length == 2
270270
installed_version = version_upgrade[0]
271271
version = version_upgrade[1]
@@ -274,10 +274,10 @@ def parse_mas_app(app)
274274
version = nil
275275
end
276276
{
277-
id: match[1],
278-
name: match[2].downcase.strip,
277+
id: match[1],
278+
name: match[2].downcase.strip,
279279
installed_version: installed_version,
280-
new_version: version
280+
new_version: version,
281281
}
282282
end
283283

0 commit comments

Comments
 (0)