Improve default app README.mdex (#4893)
This commit is contained in:
1 parent
0098591a56
commit
44fd1b9fef
5 files changed
+12
-13
No files matched your search
@@ -119,11 +119,11 @@ const BaseAppFork = {
|
||||
fs.writeFileSync(`${appDirPath}/config.json`, JSON.stringify(config, null, 2));
|
||||
fs.writeFileSync(
|
||||
`${appDirPath}/README.mdx`,
|
||||
fs.readFileSync(`${appDirPath}/README.mdx`).toString().replace("_DESCRIPTION_", appDescription)
|
||||
);
|
||||
fs.writeFileSync(
|
||||
`${appDirPath}/README.mdx`,
|
||||
fs.readFileSync(`${appDirPath}/README.mdx`).toString().replace("_DESCRIPTION_", appDescription)
|
||||
fs
|
||||
.readFileSync(`${appDirPath}/README.mdx`)
|
||||
.toString()
|
||||
.replace(/_DESCRIPTION_/g, appDescription)
|
||||
.replace(/_APP_DIR_/g, slug)
|
||||
);
|
||||
message = !editMode ? "Forked base app" : "Updated app";
|
||||
yield message;
|
||||
|
||||
Reference in new issue
Block a user