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

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