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

Revert "fix: moved macros from codebase to drive"

This reverts commit 9ac3191891.
This commit is contained in:
Saad Jutt
2022-03-23 17:59:06 +05:00
parent a701bb25e7
commit d2956fc641
5 changed files with 4 additions and 20 deletions

View File

@@ -1,10 +0,0 @@
import { copy, createFolder } from '@sasjs/utils'
import { getTmpMacrosPath, sasJSCoreMacros } from '.'
export const copySASjsCore = async () => {
await createFolder(sasJSCoreMacros)
const macrosDrivePath = getTmpMacrosPath()
await copy(sasJSCoreMacros, macrosDrivePath)
}

View File

@@ -18,8 +18,6 @@ export const getTmpFolderPath = () => process.driveLoc
export const getTmpAppStreamConfigPath = () =>
path.join(getTmpFolderPath(), 'appStreamConfig.json')
export const getTmpMacrosPath = () => path.join(getTmpFolderPath(), 'sasjscore')
export const getTmpUploadsPath = () => path.join(getTmpFolderPath(), 'uploads')
export const getTmpFilesFolderPath = () =>

View File

@@ -1,14 +1,13 @@
export * from './appStreamConfig'
export * from './connectDB'
export * from './copySASjsCore'
export * from './extractHeaders'
export * from './file'
export * from './generateAccessToken'
export * from './generateAuthCode'
export * from './generateRefreshToken'
export * from './isDebugOn'
export * from './getCertificates'
export * from './getDesktopFields'
export * from './isDebugOn'
export * from './parseLogToArray'
export * from './removeTokensInDB'
export * from './saveTokensInDB'