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
Context: In the creation of folders, we have been using the name provided by
path.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