File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -525,7 +525,7 @@ function createPullRequest(inputs) {
525
525
core.debug(`Reading contents of file: '${file}'`);
526
526
fileChanges.additions.push({
527
527
path: file,
528
- contents: btoa(fs.readFileSync(file, 'utf8'))
528
+ contents: btoa(fs.readFileSync(file, 'utf8').toString() )
529
529
});
530
530
}
531
531
for (const file of deletedFiles) {
Original file line number Diff line number Diff line change @@ -327,7 +327,7 @@ export async function createPullRequest(inputs: Inputs): Promise<void> {
327
327
core . debug ( `Reading contents of file: '${ file } '` )
328
328
fileChanges . additions ! . push ( {
329
329
path : file ,
330
- contents : btoa ( fs . readFileSync ( file , 'utf8' ) )
330
+ contents : btoa ( fs . readFileSync ( file , 'utf8' ) . toString ( ) )
331
331
} )
332
332
}
333
333
You can’t perform that action at this time.
0 commit comments