Skip to content

Commit

Permalink
Update treevariable.tcl
Browse files Browse the repository at this point in the history
The error return for the check operation was incorrect.
  • Loading branch information
rfoxkendo authored Mar 28, 2024
1 parent e150b48 commit 49e04a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/rest/custom/treevariable.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ proc SpecTcl_treevariable/check {name} {
} msg]
if {$status} {
return [SpecTcl::_returnObject \
OK [json::write string $msg] \
"'treevariable -check failed" [json::write string $msg] \
]
}
SpecTcl::_returnObject OK $msg
Expand Down

0 comments on commit 49e04a0

Please sign in to comment.