From 8fce5218db292fe5418c45e329b02602f224d6c2 Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Mon, 16 Aug 2021 12:35:31 +0300 Subject: [PATCH] Remove getBasename() function --- scripts/helpers/file.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/scripts/helpers/file.js b/scripts/helpers/file.js index cb946c3378..578c76a73c 100644 --- a/scripts/helpers/file.js +++ b/scripts/helpers/file.js @@ -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 }