Skip to content

Commit

Permalink
Fixed linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Fgerthoffert committed Nov 25, 2024
1 parent dad98f8 commit 6ee6915
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/utils/github/utils/checkRateLimit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

import sleep from "../../misc/sleep";

export const checkRateLimit = async (resetAt: number, remainingTokens: number, submissionBuffer: number = 5) => {
export const checkRateLimit = async (resetAt: number, remainingTokens: number, submissionBuffer = 5) => {
// Submission buffer is necessary when performing queries/mutations in batches,
// It corresponds to the number of tokens that are expected to be consumed before the next time
// the code goes through checkRateLimit
Expand Down
4 changes: 2 additions & 2 deletions src/utils/import/getLabels.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const getLabels = (issue: any) => {
for (const fv of issue.fixVersions.edges) {
let newLabel = 'fixVersion:' + fv.node.name;
if (newLabel.length >= 50) {
newLabel.replace('-SNAPSHOT', '-SN');
newLabel = newLabel.replace('-SNAPSHOT', '-SN');
}
labels.push(newLabel);
}
Expand All @@ -33,7 +33,7 @@ const getLabels = (issue: any) => {
for (const fv of issue.versions.edges) {
let newLabel = 'affectVersion:' + fv.node.name;
if (newLabel.length >= 50) {
newLabel.replace('-SNAPSHOT', '-SN');
newLabel = newLabel.replace('-SNAPSHOT', '-SN');
}
labels.push(newLabel);
}
Expand Down

0 comments on commit 6ee6915

Please sign in to comment.