fix(plugins/scaffolder-backend): expose fs:readdir correctly
Signed-off-by: secustor <sebastian@poxhofer.at>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-scaffolder-backend': patch
|
||||
---
|
||||
|
||||
Add fs:readdir to scaffolder startup
|
||||
@@ -354,7 +354,7 @@ export const createPublishGitlabMergeRequestAction: (options: {
|
||||
sourcePath?: string | undefined;
|
||||
targetPath?: string | undefined;
|
||||
token?: string | undefined;
|
||||
commitAction?: 'auto' | 'update' | 'delete' | 'create' | 'skip' | undefined;
|
||||
commitAction?: 'auto' | 'update' | 'skip' | 'create' | 'delete' | undefined;
|
||||
projectid?: string | undefined;
|
||||
removeSourceBranch?: boolean | undefined;
|
||||
assignee?: string | undefined;
|
||||
|
||||
@@ -47,6 +47,7 @@ import {
|
||||
createFetchTemplateFileAction,
|
||||
createFilesystemDeleteAction,
|
||||
createFilesystemRenameAction,
|
||||
createFilesystemReadDirAction,
|
||||
createWaitAction,
|
||||
} from './scaffolder';
|
||||
import { createRouter } from './service/router';
|
||||
@@ -164,6 +165,7 @@ export const scaffolderPlugin = createBackendPlugin({
|
||||
createCatalogWriteAction(),
|
||||
createFilesystemDeleteAction(),
|
||||
createFilesystemRenameAction(),
|
||||
createFilesystemReadDirAction(),
|
||||
];
|
||||
|
||||
const actionIds = actions.map(action => action.id).join(', ');
|
||||
|
||||
Reference in New Issue
Block a user