Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix - null body case #129

Merged
merged 1 commit into from
Nov 12, 2022
Merged

fix - null body case #129

merged 1 commit into from
Nov 12, 2022

Conversation

madmansn0w
Copy link
Contributor

🤔 这个变动的性质是?/ What is the nature of this change?

  • 新特性提交 / New feature
  • bug 修复 / Fix bug
  • 样式优化 / Style optimization
  • 代码风格优化 / Code style optimization
  • 性能优化 / Performance optimization
  • 构建优化 / Build optimization
  • 网站、文档、Demo 改进 / Website, documentation, demo improvements
  • 重构代码或样式 / Refactor code or style
  • 测试相关 / Test related
  • 其他 / Other

🔗 相关 Issue / Related Issue

fixes #123

💡 需求背景和解决方案 / Background or solution

Github tasklist issue creation enables users to quickly create blank issues for items in a tasklist. When using check-issue or any other method that utilizes the body-includes filter, an issue with a null body will throw an error.

The solution is to utilize optional chaining - if the property of the object is undefined or null, it will not throw an error.

📝 更新日志 / Changelog

Language Changelog
🇺🇸 English Fix null body case which would throw errors when using body-includes
🇨🇳 Chinese

@github-actions
Copy link

github-actions bot commented Nov 12, 2022

🎊 PR Preview has been successfully built and deployed to https://issues-helper-preview-pr-129.surge.sh

@madmansn0w madmansn0w marked this pull request as draft November 12, 2022 14:42
@madmansn0w madmansn0w marked this pull request as ready for review November 12, 2022 14:43
@xrkffgg xrkffgg merged commit d51658a into actions-cool:main Nov 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants