Skip to content

Commit

Permalink
Minor change to avoid unexpected failures
Browse files Browse the repository at this point in the history
  • Loading branch information
lmrodriguezr committed Feb 8, 2024
1 parent 049dc1a commit be80fbc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/miga/metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def load
# Delete file at #path
def remove!
MiGA.DEBUG "Metadata.remove! #{path}"
File.unlink(path)
File.unlink(path) if File.exist?(path)
nil
end

Expand Down
4 changes: 2 additions & 2 deletions lib/miga/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ module MiGA
# - String indicating release status:
# - rc* release candidate, not released as gem
# - [0-9]+ stable release, released as gem
VERSION = [1.3, 10, 2].freeze
VERSION = [1.3, 10, 3].freeze

##
# Nickname for the current major.minor version.
VERSION_NAME = 'mezzotint'

##
# Date of the current gem relese.
VERSION_DATE = Date.new(2024, 2, 6)
VERSION_DATE = Date.new(2024, 2, 8)

##
# References of MiGA
Expand Down

0 comments on commit be80fbc

Please sign in to comment.