(filepath = "")
| 13989 | } |
| 13990 | class Utils { |
| 13991 | static getFileExtension(filepath = "") { |
| 13992 | const match = filepath.match(/\.([^\.]+)$/) |
| 13993 | return (match && match[1]) || "" |
| 13994 | } |
| 13995 | static ensureFolderEndsInSlash(folder) { |
| 13996 | return folder.replace(/\/$/, "") + "/" |
| 13997 | } |
no outgoing calls
no test coverage detected