Skip to content

Adding fileName property and fixing the move operation

Choose a tag to compare

@thetutlage thetutlage released this 15 Feb 03:58

Bug Fixes

The move method was somehow using outputFile operation and was creating a new file with wrong contents. Fixed it by using the move method from fs-extra.

Features

Added file.fileName property, which is the relative name of the file after the move operation. In other words file.fileName = file.filePath - uploadLocation

  • feat: add fileName property to the file class 5643813
  • fix(file): move file to the desired location instead of creating a new file 430281d

v3.2.3...v3.2.4