lib/release_notes/cli.rb in release_notes-0.3.3 vs lib/release_notes/cli.rb in release_notes-0.3.4
- old
+ new
@@ -80,9 +80,11 @@
end
end
# Collects relevant files and saves version and content to db
update_files = collect_update_files(options[:destination])
+ update_files.reverse! if options[:reset]
+
update_files.each do |file|
timestamp = file[0].to_i
if !stamp.nil? and timestamp <= stamp.to_i
next
\ No newline at end of file