From e862cfaaa5765d3cec6f2726c4bca3431a4e63cf Mon Sep 17 00:00:00 2001 From: Domas Monkus Date: Tue, 18 Oct 2022 15:44:17 +0300 Subject: [PATCH] Update src/drivers/github.js Co-authored-by: DavidGOrtega --- src/drivers/github.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/drivers/github.js b/src/drivers/github.js index 2089d9d3a..b86e718ae 100644 --- a/src/drivers/github.js +++ b/src/drivers/github.js @@ -558,6 +558,7 @@ class Github { async issueCommentUpdate(opts = {}) { const { id, report } = opts; + if (!id) throw new Error('Id is missing updating comment') const { owner, repo } = ownerRepo({ uri: this.repo }); const { issues } = octokit(this.token, this.repo);