Closed m7pr closed 1 month ago
Converting to draft, and making one more check
Looks like might have been fixed by the removal of those lines https://github.com/insightsengineering/teal/pull/1302/files#diff-60bef5af43a1bd541299ce9bceeb226afb23deaa5e637b145c85e05ffd552b0cL72-L73 and those https://github.com/insightsengineering/teal/pull/1302/files#diff-e8f18436c76b1f6580b3b5c16b832c7a8149201e6d06dfc9c6d750b2fdbde2fcL62-L75
fixed in the source of the problem
Fixes https://github.com/insightsengineering/teal/issues/1286
Previously, a verification warning was prepended to the
@code
slot each time aget_code(teal_data())
was run. And if a warning already existed in the code, then it was duplicated.The
@code
slot gets overwritten for teal apps, whenhashes
are added to the code (and sometimes libraries)and also during this operation the warning is added to the
@code
and then on anotherget_code()
you see the warning appearing twiceSo this PR prevents that and do not add warning again if it was already in the
@code
Tests