We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b541244 commit c25a223Copy full SHA for c25a223
components/screenshotbase/actions/take-screenshot/take-screenshot.mjs
@@ -81,10 +81,8 @@ export default {
81
},
82
});
83
84
- const rawcontent = response.toString("base64");
85
- const buffer = Buffer.from(rawcontent, "base64");
86
const downloadedFilepath = `/tmp/${this.filename}`;
87
- fs.writeFileSync(downloadedFilepath, buffer);
+ fs.writeFileSync(downloadedFilepath, response);
88
89
const filedata = [
90
this.filename,
0 commit comments