Skip to content

Commit

Permalink
improved detection of flavour version
Browse files Browse the repository at this point in the history
  • Loading branch information
opoudjis committed Oct 14, 2024
1 parent 26e8452 commit f662612
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/metanorma/standoc/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ def all_modules(mod)

def versioned(mod, flavour)
all_modules(mod).select { |c| defined? c::VERSION }
.select { |c| c.name =~ /::#{flavour}$/ }
.select { |c| c.name =~ /Metanorma::#{flavour}$/ }
end
end

module Standoc
VERSION = "2.9.8".freeze
VERSION = "2.9.9".freeze
end
end

0 comments on commit f662612

Please sign in to comment.