Skip to content

Commit

Permalink
fix 2.7 compat
Browse files Browse the repository at this point in the history
  • Loading branch information
ekzobrain committed Jul 10, 2023
1 parent d2d28be commit 2225418
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/xsd/objects/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ def recursive_import_xsd(schema, file, processed, &block)
data = schema.node.to_xml

schema.imports.each do |import|
name = "#{SecureRandom.urlsafe_base64}.xsd"
name = "#{::SecureRandom.urlsafe_base64}.xsd"
location = import.schema_location
namespace = import.namespace

Expand Down

0 comments on commit 2225418

Please sign in to comment.