Skip to content

Commit

Permalink
Resolve conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
dsame committed Mar 13, 2023
1 parent fd837a1 commit 1226ccf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
3 changes: 1 addition & 2 deletions dist/index.js
Expand Up @@ -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}`);
}
});
}
Expand Down
5 changes: 1 addition & 4 deletions src/classes/issues-processor.ts
Expand Up @@ -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}`);
}
}

Expand Down

0 comments on commit 1226ccf

Please sign in to comment.