File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -65,12 +65,12 @@ const getChain = async (action: Action): Promise<((req: any, action: Action) =>
6565 for ( const pluginObj of chainPluginLoader . pushPlugins ) {
6666 console . log ( `Inserting push plugin ${ pluginObj . constructor . name } into chain` ) ;
6767 // insert custom functions after parsePush but before other actions
68- pushActionChain . splice ( 1 , 0 , pluginObj . exec as any ) ;
68+ pushActionChain . splice ( 1 , 0 , pluginObj . exec ) ;
6969 }
7070 for ( const pluginObj of chainPluginLoader . pullPlugins ) {
7171 console . log ( `Inserting pull plugin ${ pluginObj . constructor . name } into chain` ) ;
7272 // insert custom functions before other pull actions
73- pullActionChain . splice ( 0 , 0 , pluginObj . exec as any ) ;
73+ pullActionChain . splice ( 0 , 0 , pluginObj . exec ) ;
7474 }
7575 // This is set to true so that we don't re-insert the plugins into the chain
7676 pluginsInserted = true ;
You can’t perform that action at this time.
0 commit comments