Skip to content

Commit 62f6b76

Browse files
committed
node: guarantee that vars is a hash
Fixes ytti/oxidized-web#365
1 parent a055b21 commit 62f6b76

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
1111
### Changed
1212

1313
### Fixed
14-
14+
Guarantee that node vars is a dict (Issue ytti/oxidized-web#365) (@ytti)
1515

1616
## [0.34.2 – 2025-08-01]
1717
This release mainly fixes a bug in input/scp that made ssh raise an error when

lib/oxidized/node.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def initialize(opt)
2727
@output = resolve_output opt
2828
@auth = resolve_auth opt
2929
@prompt = resolve_prompt opt
30-
@vars = opt[:vars]
30+
@vars = opt[:vars] || {}
3131
@stats = Stats.new
3232
@retry = 0
3333
@repo = resolve_repo opt

0 commit comments

Comments
 (0)