Skip to content

Commit d952b8f

Browse files
authored
fix for issue 13 (#26)
Signed-off-by: ppradhan9 <ppradhan@progress.com>
1 parent e9e783c commit d952b8f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

libraries/windows_updates.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ def initialize(data)
1717
end
1818

1919
def title
20+
@data = @data.is_a?(Array) ? @data.flatten[0] : (@data || {})
2021
@data['Title']
2122
end
2223

0 commit comments

Comments
 (0)