File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -386,7 +386,7 @@ export class Registry {
386386 if ( isDynamicActionProvider ( action ) ) {
387387 try {
388388 // Include the dynamic actions
389- const dapPrefix = `${ action . __action . actionType } /${ action . __action . name } ` ;
389+ const dapPrefix = `/ ${ action . __action . actionType } /${ action . __action . name } ` ;
390390 const dapMetadataRecord =
391391 await action . getActionMetadataRecord ( dapPrefix ) ;
392392 resolvableActions = { ...resolvableActions , ...dapMetadataRecord } ;
Original file line number Diff line number Diff line change @@ -370,10 +370,10 @@ describe('registry class', () => {
370370 const resolvableActions = await registry . listResolvableActions ( ) ;
371371 assert . deepStrictEqual ( resolvableActions , {
372372 '/dynamic-action-provider/my-dap' : dap . __action ,
373- 'dynamic-action-provider/my-dap:tool/fs/tool1' : tool1 . __action ,
374- 'dynamic-action-provider/my-dap:tool/fs/tool2' : tool2 . __action ,
375- 'dynamic-action-provider/my-dap:resource/abc/res1' : resource1 . __action ,
376- 'dynamic-action-provider/my-dap:resource/abc/res2' : resource2 . __action ,
373+ '/ dynamic-action-provider/my-dap:tool/fs/tool1' : tool1 . __action ,
374+ '/ dynamic-action-provider/my-dap:tool/fs/tool2' : tool2 . __action ,
375+ '/ dynamic-action-provider/my-dap:resource/abc/res1' : resource1 . __action ,
376+ '/ dynamic-action-provider/my-dap:resource/abc/res2' : resource2 . __action ,
377377 } ) ;
378378 } ) ;
379379 } ) ;
You can’t perform that action at this time.
0 commit comments