mirror of
https://github.com/iptv-org/iptv.git
synced 2025-05-13 10:30:03 -04:00
Remove getBasename() function
This commit is contained in:
parent
67dc65a434
commit
8fce5218db
1 changed files with 0 additions and 4 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue