1
0
mirror of https://github.com/sasjs/adapter.git synced 2025-12-11 01:14:36 +00:00

chore: remove tmp utilities

This commit is contained in:
Yury Shkoda
2021-10-20 15:01:21 +03:00
parent 397bc4524f
commit 2aa0cd8d7a
2 changed files with 0 additions and 17 deletions

View File

@@ -17,4 +17,3 @@ export * from './fetchLogByChunks'
export * from './getValidJson'
export * from './parseViyaDebugResponse'
export * from './appendExtraResponseAttributes'
export * from './tmpFiles'

View File

@@ -1,16 +0,0 @@
import * as path from 'path'
import { getRealPath, folderExists, createFolder } from '@sasjs/utils'
export const getTmpFolderPath = async () => {
const tmpFolderPath = path.join(__dirname, '..', 'tmp')
if (!(await folderExists(tmpFolderPath))) await createFolder(tmpFolderPath)
return tmpFolderPath
}
export const getTmpFilesFolderPath = async () =>
path.join(await getTmpFolderPath(), 'files')
export const getTmpLogFolderPath = async () =>
path.join(await getTmpFolderPath(), 'log')