Skip to content

Commit

Permalink
Remove redundant macro enum-conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
HaseenaSainul committed Jun 1, 2023
1 parent 5f9f803 commit c30e13d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/macrofier/engine.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,6 @@ const generateMacros = (obj, templates, languages, options = {}) => {
imports,
initialization,
enums,
enumsConversion,
events,
eventList,
eventsEnum,
Expand Down Expand Up @@ -408,7 +407,6 @@ const insertMacros = (fContents = '', macros = {}) => {
fContents = fContents.replace(/[ \t]*\/\* \$\{TYPES\} \*\/[ \t]*\n/, macros.types)
fContents = fContents.replace(/[ \t]*\/\* \$\{PROVIDERS\} \*\/[ \t]*\n/, macros.providerInterfaces)
fContents = fContents.replace(/[ \t]*\/\* \$\{ENUMS\} \*\/[ \t]*\n/, macros.enums)
fContents = fContents.replace(/[ \t]*\/\* \$\{ENUMS_CONVERSION\} \*\/[ \t]*\n/, macros.enumsConversion)
fContents = fContents.replace(/[ \t]*\/\* \$\{IMPORTS\} \*\/[ \t]*\n/, macros.imports)
fContents = fContents.replace(/[ \t]*\/\* \$\{INITIALIZATION\} \*\/[ \t]*\n/, macros.initialization)
fContents = fContents.replace(/[ \t]*\/\* \$\{DEFAULTS\} \*\/[ \t]*\n/, macros.defaults)
Expand Down

0 comments on commit c30e13d

Please sign in to comment.