Skip to content

Commit f7bdd88

Browse files
authored
fix: remove failTitle arg in findSRIssues call (#1164)
* fix: remove `failTitle` arg in `findSRIssues` call This extraneous argument caused "Error: Variable $owner of type String! was provided invalid value" Fixes #1163 * style: un-line-wrap shortened call
1 parent fce4835 commit f7bdd88

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

lib/fail.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,7 @@ export default async function fail(pluginConfig, context, { Octokit }) {
5656
const body = failComment
5757
? template(failComment)({ branch, errors })
5858
: getFailComment(branch, errors);
59-
const [srIssue] = await findSRIssues(
60-
octokit,
61-
logger,
62-
failTitle,
63-
labels,
64-
owner,
65-
repo,
66-
);
59+
const [srIssue] = await findSRIssues(octokit, logger, labels, owner, repo);
6760

6861
const canCommentOnOrCreateIssue = failCommentCondition
6962
? template(failCommentCondition)({ ...context, issue: srIssue })

0 commit comments

Comments
 (0)