Skip to content

Commit

Permalink
fix: Macro not replaced for provider docs
Browse files Browse the repository at this point in the history
  • Loading branch information
kpears201 committed Sep 12, 2023
1 parent 53911c2 commit ef1aecd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/macrofier/engine.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -1512,6 +1512,8 @@ function insertProviderInterfaceMacros(template, capability, moduleJson = {}, te
}
}
methodBlock = lines.join('\n')
methodBlock = methodBlock.replace(/\$\{if\.provider\.params\}/gms, '')
methodBlock = methodBlock.replace(/\$\{end\.if\.provider\.params\}/gms, '')
}
else {
methodBlock = methodBlock.replace(/\$\{if\.provider\.params\}.*?\$\{end\.if\.provider\.params\}/gms, '')
Expand Down

0 comments on commit ef1aecd

Please sign in to comment.