mirror of
https://github.com/directus/directus.git
synced 2026-01-23 22:48:25 -05:00
Merge pull request #642 from WoLfulus/fix/absolute-extension-directory
Fix absolute extension path support
This commit is contained in:
@@ -6,7 +6,7 @@ const readdir = promisify(fs.readdir);
|
||||
const stat = promisify(fs.stat);
|
||||
|
||||
export default async function listFolders(location: string) {
|
||||
const fullPath = path.join(process.cwd(), location);
|
||||
const fullPath = path.resolve(location);
|
||||
const files = await readdir(fullPath);
|
||||
|
||||
const directories: string[] = [];
|
||||
|
||||
Reference in New Issue
Block a user