Skip to content

Commit

Permalink
fix(web): call clear method if exists
Browse files Browse the repository at this point in the history
  • Loading branch information
icyleaf committed Jan 14, 2025
1 parent 78395ce commit afc3517
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/concerns/release_parser.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def parse_app(parser, default_source)
rescue => e
logger.error e.full_message
ensure
parser&.clear!
parser&.clear! if parser&.respond_to?(:clear!)
end

def build_metadata(parser, default_source)
Expand Down

0 comments on commit afc3517

Please sign in to comment.