Skip to content

Commit ad4a4ca

Browse files
authored
Merge pull request #59 from nickhilliard/master
return exception if host specification line returns no hosts
2 parents e0195ee + b96a363 commit ad4a4ca

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
77
### Added
88
- TODO.md - a list of future aspirations for some brave spirit with both time and willingness
99

10+
### Fixed
11+
- fixed --list-models (@nickhilliard)
12+
- return exception if host specification line returns no hosts (@nickhilliard)
13+
1014
## [0.7.0 - 2025-01-21]
1115

1216
### Added

lib/oxidized/script/cli.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ def initialize
7272
exit
7373
end
7474
raise NothingToDo, 'nothing to do, give command or -x' if not @cmd and not @opts[:commands]
75+
raise NothingToDo, 'nothing to do, no hosts matched' if get_hosts.empty?
7576
end
7677
end
7778

0 commit comments

Comments
 (0)