Open
Description
Scenario:
When we use fs.stat(oldUri)
in the specific implementation of onDidRenameFiles
to determine the file before the modification, sometimes it throws an exception directly, and sometimes it passes, so we can execute the stats.isFile()
method, and this situation causes our function to be very unstable.
Expected:
The correct result should be that the file before the modification no longer exists, so it should be an exception to be thrown to facilitate our subsequent business logic processing.