PR-645309: fix npx.

This commit is contained in:
Alejandro Lembke Barrientos 2022-08-05 23:14:54 +00:00
parent f9518c12b6
commit 6b6949d441
2 changed files with 3 additions and 3 deletions

View File

@ -24,13 +24,13 @@ const runCommandWithOutput = command => {
} }
} }
const replaceTextOnFile = ({ const replaceTextOnFile = async ({
file, file,
textToBeReplaced, textToBeReplaced,
textReplace, textReplace,
arrOfObjectsBeReplaced arrOfObjectsBeReplaced
}) => { }) => {
fs.readFileSync(file, 'utf8', function (err,data) { await fs.readFile(file, 'utf8', function (err,data) {
let result let result
if (err) { if (err) {
return console.error(err); return console.error(err);

View File

@ -1,6 +1,6 @@
{ {
"name": "@aleleba/create-react-ssr", "name": "@aleleba/create-react-ssr",
"version": "3.0.43", "version": "3.0.44",
"description": "Starter Kit of server side render of react", "description": "Starter Kit of server side render of react",
"bin": "./bin/cli.js", "bin": "./bin/cli.js",
"main": "src/server/index", "main": "src/server/index",