mirror of
https://github.com/sasjs/server.git
synced 2026-01-04 21:30:05 +00:00
fix: moved macros from codebase to drive
This commit is contained in:
10
api/src/utils/copySASjsCore.ts
Normal file
10
api/src/utils/copySASjsCore.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import { copy, createFolder } from '@sasjs/utils'
|
||||
|
||||
import { getTmpMacrosPath, sasJSCoreMacros } from '.'
|
||||
|
||||
export const copySASjsCore = async () => {
|
||||
await createFolder(sasJSCoreMacros)
|
||||
|
||||
const macrosDrivePath = getTmpMacrosPath()
|
||||
await copy(sasJSCoreMacros, macrosDrivePath)
|
||||
}
|
||||
Reference in New Issue
Block a user