ref: Rename folder to dir for consistency

This commit is contained in:
Maksim Eltyshev
2024-11-12 17:07:04 +01:00
parent 917dcf31cf
commit 9794919fd2
8 changed files with 21 additions and 21 deletions

View File

@@ -86,7 +86,7 @@ module.exports = {
const fileManager = sails.hooks['file-manager'].getInstance();
try {
await fileManager.deleteFolder(
await fileManager.deleteDir(
`${sails.config.custom.projectBackgroundImagesPathSegment}/${inputs.record.backgroundImage.dirname}`,
);
} catch (error) {