Update wr recipes using chef DSL

This commit is contained in:
Aoran Zeng
2025-08-10 12:31:05 +08:00
parent 82aafbca62
commit 425ae19d9d
11 changed files with 52 additions and 48 deletions

View File

@@ -74,7 +74,7 @@ chef_forbid_user_define (Target_t *target)
void
chef_set_note (Target_t *target, const char *note_zh, const char *note_en)
{
if (!target || !note)
if (!target)
return;
char *msg = CHINESE ? xy_strdup(note_zh) : xy_strdup(note_en);