internxt / drive-desktop

https://internxt.com/drive
GNU Affero General Public License v3.0
168 stars 21 forks source link

[_]: fix/use basename insted of name to create folders #436

Closed miguelsw closed 10 months ago

miguelsw commented 10 months ago

Context: In the creation of folders, we have been using the name provided bypath.posix.parse(folderPath). However, for folders, it seems better to use basename since it provides the base name of the folders. Only use name in the case of files, as we want it without an extension

sonarcloud[bot] commented 10 months ago

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud