mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
fix(cli): item.subject may be null
This commit is contained in:
parent
f0a292134b
commit
4617a9d222
@ -37,7 +37,7 @@ function transform(item: any) {
|
||||
|
||||
if (item.references.length) {
|
||||
item.references.forEach((ref: any) => {
|
||||
if (ref.issue) {
|
||||
if (ref.issue && item.subject) {
|
||||
item.subject = item.subject.replace(` (#${ref.issue})`, '');
|
||||
}
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user