1
0
mirror of https://gitcode.com/gh_mirrors/re/react-native-pushy.git synced 2025-10-31 21:33:12 +08:00
Code Issues Packages Projects Releases Wiki Activity GitHub Gitee

refactor hvigor-plugin to use 2-space indentation for JSON and improve condition checks in RCTPushy

This commit is contained in:
sunnylqm
2025-10-30 00:01:26 +08:00
parent 43ed2f50fe
commit 4daaadce70
3 changed files with 6 additions and 8 deletions

View File

@@ -30,11 +30,9 @@ export function reactNativeUpdatePlugin() {
versionName,
};
fs.writeFileSync(metaFilePath, JSON.stringify(metaContent, null, 4));
fs.writeFileSync(metaFilePath, JSON.stringify(metaContent, null, 2));
console.log(`Build time written to ${metaFilePath}`);
},
dependencies: [],
postDependencies: ['default@BuildJS'],
});
},
};