diff options
Diffstat (limited to 'scripts/create.js')
-rw-r--r-- | scripts/create.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/create.js b/scripts/create.js index 1d20668..199a23b 100644 --- a/scripts/create.js +++ b/scripts/create.js | |||
@@ -76,7 +76,7 @@ const pascalCasedName = toPascalCase(recipe); // PascalCased recipe ID only cont | |||
76 | // Replace placeholders with the recipe-specific values | 76 | // Replace placeholders with the recipe-specific values |
77 | for (const file of filesThatNeedTextReplace) { | 77 | for (const file of filesThatNeedTextReplace) { |
78 | const filePath = path.join(newRecipeFolder, file); | 78 | const filePath = path.join(newRecipeFolder, file); |
79 | let contents = await fs.readFile(filePath, 'utf-8'); | 79 | let contents = await fs.readFile(filePath, 'utf8'); |
80 | contents = contents.replace(/SERVICE/g, recipe); | 80 | contents = contents.replace(/SERVICE/g, recipe); |
81 | contents = contents.replace(/SNAME/g, recipeName); | 81 | contents = contents.replace(/SNAME/g, recipeName); |
82 | contents = contents.replace(/SPASCAL/g, pascalCasedName); | 82 | contents = contents.replace(/SPASCAL/g, pascalCasedName); |