style: prettify code

This commit is contained in:
yanglbme 2021-02-28 07:39:35 +00:00 committed by GitHub Action
parent 2cb5e34af3
commit ee1dc69de2

View File

@ -7,7 +7,8 @@ function writeManifestJson() {
const strData = data.toString();
const manifest = JSON.parse(strData);
manifest.h5.publicPath = process.env.SERVER_ENV !== 'NETLIFY' ? "/md/": "/";
manifest.h5.publicPath =
process.env.SERVER_ENV !== "NETLIFY" ? "/md/" : "/";
const result = JSON.stringify(manifest, null, 4);
fs.writeFile("./src/manifest.json", result, function (err) {