mirror of
https://github.com/bellingcat/datasheet-server.git
synced 2026-06-07 19:08:34 +03:00
rm getFileExt
This commit is contained in:
@@ -2,7 +2,6 @@ import R from 'ramda'
|
||||
import { createHash } from 'crypto'
|
||||
import { buildDesaturated } from './blueprinters'
|
||||
import {
|
||||
getFileExt,
|
||||
fmtName,
|
||||
fmtBlueprinterTitles,
|
||||
isFunction
|
||||
|
||||
@@ -14,11 +14,6 @@ function camelize (str) {
|
||||
})
|
||||
}
|
||||
|
||||
export function getFileExt (str) {
|
||||
const re = /(?:\.([^.]+))?$/
|
||||
return re.exec(str)[1]
|
||||
}
|
||||
|
||||
export const fmtObj = R.curry(
|
||||
(
|
||||
columnNames,
|
||||
|
||||
Reference in New Issue
Block a user