Skip to content

Commit e7ec7ac

Browse files
committed
chore: remove unneeded comments
1 parent 8a79d84 commit e7ec7ac

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

lib/genericode/cli/converter.rb

-7
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,6 @@ def self.convert(input_path, output_path)
2222

2323
File.write(output_path, result)
2424
true
25-
# rescue JSON::ParserError => e
26-
# raise Error, "Invalid JSON in input file: #{e.message}"
27-
# rescue Shale::ParseError => e
28-
# raise Error, "Invalid XML in input file: #{e.message}"
29-
# rescue StandardError => e
30-
# raise Error, "Conversion error: #{e.message}"
31-
# end
3225
end
3326
end
3427
end

lib/genericode/identification.rb

-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ def long_name_to_json(model, doc)
4949
end
5050

5151
def location_uri_from_json(model, value)
52-
# model.location_uri = Shale::Type::String.of_json(Utils.array_wrap(value))
5352
model.location_uri = Utils.array_wrap(value).map do |val|
5453
Lutaml::Model::Type::String.cast(val)
5554
end

0 commit comments

Comments
 (0)