mirror of
https://github.com/sasjs/server.git
synced 2026-01-09 07:20:05 +00:00
feat: add sasjsExecutor controller
This commit is contained in:
7
src/controllers/sasjsExecutor.ts
Normal file
7
src/controllers/sasjsExecutor.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import dirTree from 'directory-tree'
|
||||
import path from 'path'
|
||||
|
||||
export const sasjsExecutor = () => {
|
||||
const tree = dirTree(path.join(__dirname, '..'))
|
||||
return tree
|
||||
}
|
||||
Reference in New Issue
Block a user