Skip to content

Use fs.rm instead of fs.rmdirSync to remove puppeteer profiles #112

Open
stefanzweifel wants to merge 3 commits into
mainfrom
fix/deprecated-node-methods
Open

Use fs.rm instead of fs.rmdirSync to remove puppeteer profiles #112
stefanzweifel wants to merge 3 commits into
mainfrom
fix/deprecated-node-methods

Conversation

@stefanzweifel

Copy link
Copy Markdown
Owner

As reported in #110, AWS Lambda throws deprecations warnings about fs.rmdirSync().

This PR updates browsershot.js to use fs.rm().

@stefanzweifel

Copy link
Copy Markdown
Owner Author

Hm, I can replicate the issue on my local machine that I see on GitHub Actions, but I don't know how to fix this … yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant