1
0
mirror of https://github.com/sasjs/server.git synced 2026-01-04 21:30:05 +00:00

feat(api): deployment through zipped/compressed file

This commit is contained in:
Saad Jutt
2022-06-16 00:56:51 +05:00
parent a61adbcac2
commit b81d742c6c
9 changed files with 432 additions and 4 deletions

View File

@@ -0,0 +1,6 @@
import path from 'path'
export const extractName = (filePath: string) => {
const extension = path.extname(filePath)
return path.basename(filePath, extension)
}