async function fixGaps()

in fix-version-gaps/fixGaps.js [77:86]


async function fixGaps(accessToken, config, pr) {
    const labelsToAdd = getVersionLabelsToAdd(config, pr);
    if (labelsToAdd.length > 0) {
        const octokit = new rest_1.Octokit({
            auth: accessToken,
        });
        await createComment(octokit, pr, labelsToAdd);
        await addLabels(octokit, pr, labelsToAdd);
    }
}