chore: incorporate additional copilot suggestions

Signed-off-by: Jan Michael Ong <adobejmong@gmail.com>
This commit is contained in:
Jan Michael Ong
2026-04-22 11:35:23 -07:00
parent 547b91de03
commit a50f4ec818
2 changed files with 3 additions and 3 deletions
@@ -22,4 +22,4 @@
export * from './actions';
export { githubModule as default } from './module';
export { getOctokitClient, getOctokitOptions } from './util';
export { getOctokitClient, getOctokitOptions, type RetryOptions } from './util';
@@ -31,9 +31,9 @@ const DEFAULT_TIMEOUT_MS = 60_000;
// By default, octokit/plugin-retry will retry 3 times with a 1 second delay
// between retries.
const DEFAULT_RETRY_ATTEMPTS = 3;
const DEFAULT_RETRY_DELAY_MS = 1000;
const DEFAULT_RETRY_DELAY_MS = 1_000;
type RetryOptions = {
export type RetryOptions = {
// The number of retry attempts for failed requests
retries?: number;
// The delay in milliseconds between retry attempts