Skip to content

Commit 6be8ad3

Browse files
committed
Strip --- document prefix from compiled YAML
1 parent 9b87de0 commit 6be8ad3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/fixturebot/compiler.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def compile_table(table_name)
2424
records.each do |record_name, columns|
2525
hash[record_name.to_s] = columns.transform_keys(&:to_s)
2626
end
27-
YAML.dump(hash)
27+
YAML.dump(hash).delete_prefix("---\n")
2828
end
2929
end
3030
end

0 commit comments

Comments
 (0)