mirror of
https://github.com/changesets/action
synced 2026-10-26 16:39:56 +08:00
Migrate to oxfmt (#618)
* Migrate to oxfmt * Enable import sorting * trailingComma always
This commit is contained in:
+4
-4
@@ -9,7 +9,7 @@ export const setupOctokit = (githubToken: string) => {
|
||||
throttle: {
|
||||
onRateLimit: (retryAfter, options: any, octokit, retryCount) => {
|
||||
core.warning(
|
||||
`Request quota exhausted for request ${options.method} ${options.url}`
|
||||
`Request quota exhausted for request ${options.method} ${options.url}`,
|
||||
);
|
||||
|
||||
if (retryCount <= 2) {
|
||||
@@ -21,10 +21,10 @@ export const setupOctokit = (githubToken: string) => {
|
||||
retryAfter,
|
||||
options: any,
|
||||
octokit,
|
||||
retryCount
|
||||
retryCount,
|
||||
) => {
|
||||
core.warning(
|
||||
`SecondaryRateLimit detected for request ${options.method} ${options.url}`
|
||||
`SecondaryRateLimit detected for request ${options.method} ${options.url}`,
|
||||
);
|
||||
|
||||
if (retryCount <= 2) {
|
||||
@@ -34,7 +34,7 @@ export const setupOctokit = (githubToken: string) => {
|
||||
},
|
||||
},
|
||||
},
|
||||
throttling
|
||||
throttling,
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user