mirror of
https://github.com/actions/stale.git
synced 2025-12-10 20:21:20 +00:00
Add integration tests
This commit is contained in:
@@ -572,9 +572,10 @@ export class IssuesProcessor {
|
||||
});
|
||||
this.statistics?.incrementFetchedItemsCount(issueResult.data.length);
|
||||
|
||||
return issueResult.data.map((issue): Issue => {
|
||||
return new Issue(this.options, issue as Readonly<OctokitIssue>);
|
||||
});
|
||||
return issueResult.data.map(
|
||||
(issue): Issue =>
|
||||
new Issue(this.options, issue as Readonly<OctokitIssue>)
|
||||
);
|
||||
} catch (error) {
|
||||
throw Error(`Getting issues was blocked by the error: ${error.message}`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user