mirror of
https://github.com/sasjs/server.git
synced 2026-01-13 00:50:06 +00:00
chore: comments addressing
This commit is contained in:
@@ -24,3 +24,7 @@ export const generateUniqueFileName = (fileName: string, extension = '') =>
|
||||
new Date().getTime(),
|
||||
extension
|
||||
].join('')
|
||||
|
||||
export const addExtensionIfNotFound = (value: string, extension: string) => {
|
||||
return !value.includes('.') ? `.${extension}` : ''
|
||||
}
|
||||
Reference in New Issue
Block a user