Skip to content

Commit

Permalink
Update treevariable.tcl
Browse files Browse the repository at this point in the history
/setchanged also was returning the wrong failure status.
  • Loading branch information
rfoxkendo authored Mar 28, 2024
1 parent 22ebd76 commit 8b9ab39
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 @@ -109,7 +109,7 @@ proc SpecTcl_treevariable/setchanged {name} {
} msg]
if {$status} {
return [SpecTcl::_returnObject \
OK [json::write string $msg] \
"'treevariable -setchanged' command failed" [json::write string $msg] \
]
}
SpecTcl::_returnObject OK
Expand Down

0 comments on commit 8b9ab39

Please sign in to comment.