Skip to content

Commit 41c9b71

Browse files
fix: variable name typo
1 parent cb20c91 commit 41c9b71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/stagehand/internal/util.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ def coerce_hash!(input)
157157
in Hash | nil => coerced
158158
coerced
159159
else
160-
message = "Expected a #{Hash} or #{Stagehand::Internal::Type::BaseModel}, got #{data.inspect}"
160+
message = "Expected a #{Hash} or #{Stagehand::Internal::Type::BaseModel}, got #{input.inspect}"
161161
raise ArgumentError.new(message)
162162
end
163163
end

0 commit comments

Comments
 (0)