Skip to content

Sync rm functions are not using promises#440

Merged
43081j merged 1 commit intoes-tooling:mainfrom
Schweinepriester:patch-1
Mar 15, 2026
Merged

Sync rm functions are not using promises#440
43081j merged 1 commit intoes-tooling:mainfrom
Schweinepriester:patch-1

Conversation

@Schweinepriester
Copy link
Contributor

… right? 😅

at least https://nodejs.org/api/fs.html#fsrmsyncpath-options

Returns undefined.

https://github.com/isaacs/rimraf?tab=readme-ov-file#api

All removal functions return a boolean indicating that all entries were successfully removed.

(except where promise, I suppose)

Copy link
Contributor

@gameroman gameroman left a comment

Choose a reason for hiding this comment

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

Yeah, you are right, thank you!

@43081j 43081j merged commit 8009922 into es-tooling:main Mar 15, 2026
3 checks passed
@Schweinepriester Schweinepriester deleted the patch-1 branch March 15, 2026 17:10
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.

3 participants