From d8399ea0f1940d6483bfef59e3eb94ba41137b12 Mon Sep 17 00:00:00 2001 From: Vijay A Date: Mon, 13 Feb 2023 06:44:28 +0530 Subject: Upgrade 'pnpm' to '7.27.0'; Upgrade other npm modules and fix errors --- scripts/create.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/create.js') 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 // Replace placeholders with the recipe-specific values for (const file of filesThatNeedTextReplace) { const filePath = path.join(newRecipeFolder, file); - let contents = await fs.readFile(filePath, 'utf-8'); + let contents = await fs.readFile(filePath, 'utf8'); contents = contents.replace(/SERVICE/g, recipe); contents = contents.replace(/SNAME/g, recipeName); contents = contents.replace(/SPASCAL/g, pascalCasedName); -- cgit v1.2.3-70-g09d2