You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you do not leave a blank line at the end of each topic map, it seems that when they are merged into the temporary file, the build will fail.
This can be rectified by adding in a new line after each map is read, in the merge code:
lib/ascii_binder/engine.rb:
# topic map files are in the _topic_maps folder
# create a combined temp file with all topic maps
tf = Tempfile.new("#{TOPIC_MAP_FILENAME}")
Dir.glob("#{topic_map_folder}/*.yml").each do |filename|
lines = IO.read(filename)
tf << lines
tf.write "\n"
end
The text was updated successfully, but these errors were encountered:
I have replicated the issue with my local asciibinder build. Using @gabriel-ocp's container image with his updated version of asciibinder, I verified the fixes worked as expected.
If you do not leave a blank line at the end of each topic map, it seems that when they are merged into the temporary file, the build will fail.
This can be rectified by adding in a new line after each map is read, in the merge code:
lib/ascii_binder/engine.rb:
The text was updated successfully, but these errors were encountered: