add debug lines
This commit is contained in:
@ -324,6 +324,7 @@ export async function createPullRequest(inputs: Inputs): Promise<void> {
|
||||
core.debug(`Deleted files: '${JSON.stringify(deletedFiles)}'`)
|
||||
|
||||
for (const file of changedFiles) {
|
||||
core.debug(`Reading contents of file: '${file}'`)
|
||||
fileChanges.additions!.push({
|
||||
path: file,
|
||||
contents: btoa(fs.readFileSync(file, 'utf8'))
|
||||
@ -331,6 +332,7 @@ export async function createPullRequest(inputs: Inputs): Promise<void> {
|
||||
}
|
||||
|
||||
for (const file of deletedFiles) {
|
||||
core.debug(`Marking file as deleted: '${file}'`)
|
||||
fileChanges.deletions!.push({
|
||||
path: file
|
||||
})
|
||||
|
Reference in New Issue
Block a user