diff --git a/core/server/services/themes/ThemeStorage.js b/core/server/services/themes/ThemeStorage.js index 3d599af7ae..8a78125bcc 100644 --- a/core/server/services/themes/ThemeStorage.js +++ b/core/server/services/themes/ThemeStorage.js @@ -60,8 +60,8 @@ class ThemeStorage extends LocalFileStorage { /** * Rename a file / folder * - * - * @param String fileName + * @param {String} srcName + * @param {String} destName */ rename(srcName, destName) { let src = path.join(this.getTargetDir(), srcName); @@ -71,9 +71,10 @@ class ThemeStorage extends LocalFileStorage { } /** - * Rename a file / folder + * Remove a file / folder * - * @param String backupName + * @param {String} fileName + * @returns {Promise} */ delete(fileName) { return fs.remove(path.join(this.getTargetDir(), fileName));