chore: update debug message (#1311)

Co-authored-by: GitHub Action <action@github.com>
This commit is contained in:
Tonye Jack 2023-06-25 23:10:22 -06:00 committed by GitHub
parent e6e128a1c4
commit 8c58d60f5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 7 deletions

6
dist/index.js generated vendored
View File

@ -978,7 +978,7 @@ const getSHAForPullRequestEvent = (inputs, env, workingDirectory, isShallow, has
sha2: currentSha,
diff
}))) {
core.debug('Merge base is not in the local history, fetching remote target branch...');
core.info('Merge base is not in the local history, fetching remote target branch...');
for (let i = 1; i <= 10; i++) {
yield (0, utils_1.gitFetch)({
cwd: workingDirectory,
@ -999,8 +999,8 @@ const getSHAForPullRequestEvent = (inputs, env, workingDirectory, isShallow, has
})) {
break;
}
core.debug('Merge base is not in the local history, fetching remote target branch again...');
core.debug(`Attempt ${i}/10`);
core.info('Merge base is not in the local history, fetching remote target branch again...');
core.info(`Attempt ${i}/10`);
}
}
}

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

View File

@ -411,7 +411,7 @@ export const getSHAForPullRequestEvent = async (
diff
}))
) {
core.debug(
core.info(
'Merge base is not in the local history, fetching remote target branch...'
)
@ -439,10 +439,10 @@ export const getSHAForPullRequestEvent = async (
break
}
core.debug(
core.info(
'Merge base is not in the local history, fetching remote target branch again...'
)
core.debug(`Attempt ${i}/10`)
core.info(`Attempt ${i}/10`)
}
}
}