You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
consterrorMessage=`An error occurred while ${action} the issue. This might be caused by a malformed issue title, or a typo in the labels or assignees. Check ${template}!`
consterrorMessage=`An error occurred while creating the issue. This might be caused by a malformed issue title, or a typo in the labels or assignees. Check ${template}!`
Copy file name to clipboardExpand all lines: tests/__snapshots__/index.test.ts.snap
+18Lines changed: 18 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -239,6 +239,24 @@ Array [
239
239
]
240
240
`;
241
241
242
+
exports[`create-an-issue logs a helpful error if updating an issue throws an error with more errors 1`] =`
243
+
Array [
244
+
Array [
245
+
"An error occurred while updating the issue. This might be caused by a malformed issue title, or a typo in the labels or assignees. Check .github/ISSUE_TEMPLATE.md!",
246
+
],
247
+
Array [
248
+
[HttpError: Validation error: {"foo":true}],
249
+
],
250
+
Array [
251
+
Array [
252
+
Object {
253
+
"foo": true,
254
+
},
255
+
],
256
+
],
257
+
]
258
+
`;
259
+
242
260
exports[`create-an-issue updates an existing open issue with the same title 1`] =`
0 commit comments