Skip to content

Commit

Permalink
Fix relative paths in versioned files
Browse files Browse the repository at this point in the history
  • Loading branch information
360dgries committed Sep 30, 2024
1 parent 80e40d7 commit d60a1da
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/fhir_models/r4/bootstrap/definitions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module R4
class Definitions
include CommonDefinitions
extend FHIR::R4
@ig_file_name = File.join(Dir.pwd, 'lib', 'fhir_models', 'igs', 'hl7.fhir.r4.core.tgz')
@ig_file_name = File.join(__dir__, '..', '..', 'igs', 'hl7.fhir.r4.core.tgz')

load_igs(@ig_file_name)
end
Expand Down
2 changes: 1 addition & 1 deletion lib/fhir_models/r4b/bootstrap/definitions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module R4B
class Definitions
include CommonDefinitions
extend FHIR::R4B
@ig_file_name = File.join(Dir.pwd, 'lib', 'fhir_models', 'igs', 'hl7.fhir.r4b.core.tgz')
@ig_file_name = File.join(__dir__, '..', '..', 'igs', 'hl7.fhir.r4b.core.tgz')

load_igs(@ig_file_name)
end
Expand Down
2 changes: 1 addition & 1 deletion lib/fhir_models/r5/bootstrap/definitions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module R5
class Definitions
include CommonDefinitions
extend FHIR::R5
@ig_file_name = File.join(Dir.pwd, 'lib', 'fhir_models', 'igs', 'hl7.fhir.r5.core.tgz')
@ig_file_name = File.join(__dir__, '..', '..', 'igs', 'hl7.fhir.r5.core.tgz')

load_igs(@ig_file_name)
end
Expand Down

0 comments on commit d60a1da

Please sign in to comment.