Resolve conflicts

This commit is contained in:
Sergey Dolin 2023-02-27 09:17:26 +01:00
parent fd837a17e5
commit 1226ccf00a
2 changed files with 2 additions and 6 deletions

3
dist/index.js vendored
View File

@ -671,8 +671,7 @@ class IssuesProcessor {
return issueResult.data.map((issue) => new issue_1.Issue(this.options, issue));
}
catch (error) {
const rethrow = Error(`Getting issues was blocked by the error: ${error.message}`);
throw error;
throw Error(`Getting issues was blocked by the error: ${error.message}`);
}
});
}

View File

@ -557,10 +557,7 @@ export class IssuesProcessor {
(issue: Readonly<OctokitIssue>): Issue => new Issue(this.options, issue)
);
} catch (error) {
const rethrow = Error(
`Getting issues was blocked by the error: ${error.message}`
);
throw error;
throw Error(`Getting issues was blocked by the error: ${error.message}`);
}
}