make the ONLY env variable used in guides generation work with kindle guides
This commit is contained in:
parent
ef32b59384
commit
71dfce6e47
@ -167,7 +167,7 @@ def guides_to_generate
|
||||
def select_only(guides)
|
||||
prefixes = ENV['ONLY'].split(",").map(&:strip)
|
||||
guides.select do |guide|
|
||||
prefixes.any? {|p| guide.start_with?(p)}
|
||||
prefixes.any? { |p| guide.start_with?(p) || guide.start_with?("kindle") }
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user