fix(tools) Fixed documentation comments on different .js files (#38642)

This commit is contained in:
MarceloDamian
2020-04-26 07:54:24 -04:00
committed by GitHub
parent a3b54d34cb
commit 8d1a1ce3b1
3 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
const rateLimiter = (delay = 1500) => {
/* The 1500 delay will guarntee the script will not exceed Github request
limit of 1500 per hour. Only increase if you have a higher rate limit */
/* The 1500 delay will guarantee the script will not exceed Github request
limit of 1500 per hour. Only increase if you have a higher rate limit */
return new Promise(resolve => setTimeout(() => resolve(true), delay));
};

View File

@ -3,7 +3,7 @@ This is a one-off script that was was used to summarize the results of a
test_sweeper json log file after sweeper.js was run on a particular set of data.
It generates a text file referencing only PRs with any comments/labels
which would have beeen added (test) based on data stored in the
specific JSON log file. You must run sweeper with environement variable
specific JSON log file. You must run sweeper with environment variable
PRODUCTION_RUN set to false, to get the test version. Technically, you
could also run this on a production_sweeper json log file, if you wanted to see
if the sweeper commented or labeled any PRs during its run.

View File

@ -97,7 +97,7 @@ class Presolver {
const number = this.pullRequest.number;
const label = this.config.labelPRConflict;
const github = this.github;
// Check if a label does not exist. If it does, it addes the label.
// Check if a label does not exist. If it does, it adds label.
return this._getLabel(label).catch(() => {
// console.log(labelObj)
return github.issues.addLabels({