Closed JoanVicens closed 1 year ago
SonarCloud Quality Gate failed.
1 Bug
0 Vulnerabilities
0 Security Hotspots
1 Code Smell
No Coverage information
0.0% Duplication
Catch issues before they fail your Quality Gate with our IDE extension SonarLint
Why: When a file has been moved, after the move is done we get a file creation callback.
How: Added a rename file domain event that stores a combination of the local file data, the
dev
, andino
values. When a file is going to be created it searches if there is a file on the destination. If it exists search for a move event and compares thedev
andino
. If they are the same the file that is going to be created is ignored and the id of that file is returned