提交 71dfce6e 编写于 作者: V Vijay Dev

make the ONLY env variable used in guides generation work with kindle guides

上级 ef32b593
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册