Remove getBasename() function

This commit is contained in:
Aleksandr Statciuk 2021-08-16 12:35:31 +03:00
parent 67dc65a434
commit 8fce5218db
1 changed files with 0 additions and 4 deletions

View File

@ -5,10 +5,6 @@ const fs = require('fs')
const rootPath = path.resolve(__dirname) + '/../../'
const file = {}
file.getBasename = function (filename) {
return path.basename(filename, path.extname(filename))
}
file.getFilename = function (filename) {
return path.parse(filename).name
}