Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
Error was incorrectly displayed when using `--ds-list` and a dataset didn't exist
  • Loading branch information
lmrodriguezr committed Jun 23, 2024
1 parent c1bfed9 commit f6c4170
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/miga/cli/objects_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def load_dataset(silent = false, name = nil)
name = self[:dataset]
end
d = load_project.dataset(name)
raise "Cannot load dataset: #{self[:dataset]}" if !silent && d.nil?
raise "Cannot load dataset: #{name}" if !silent && d.nil?

return d
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, 15, 10].freeze
VERSION = [1.3, 15, 11].freeze

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

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

##
# References of MiGA
Expand Down

0 comments on commit f6c4170

Please sign in to comment.