Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

small change to only-gzip.js to remove warning #449

Merged
merged 1 commit into from
Nov 4, 2024
Merged

Conversation

skot
Copy link
Owner

@skot skot commented Nov 4, 2024

we were getting the following warning;

(node:69549) [DEP0147] DeprecationWarning: In future versions of Node.js, fs.rmdir(path, { recursive: true }) will be removed. Use fs.rm(path, { recursive: true }) instead
(Use `node --trace-deprecation ...` to show where the warning was created)

So I made the change it suggests, and the warning went away.

Seems to be working fine?

@skot skot requested a review from benjamin-wilson November 4, 2024 01:45
@skot skot self-assigned this Nov 4, 2024
Copy link
Collaborator

@benjamin-wilson benjamin-wilson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤷‍♂️ lgtm

@skot skot merged commit d91ed0c into master Nov 4, 2024
2 checks passed
@skot skot deleted the node-warning-fix branch November 4, 2024 01:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants