fix: geoip模块dts异常及prepublish.sh不调用的问题

This commit is contained in:
undefined committed 2020-09-05 21:13:29 +08:00
1 parent a1aeb521fe
commit 02c1866963
5 files changed
+10 -7

No files matched your search

+1 -1
View File
@@ -35,7 +35,7 @@ if (CI && (GITHUB_REF !== 'refs/heads/master' || GITHUB_EVENT_NAME !== 'push'))
await Promise.all(folders.map(async (name) => {
let meta: PackageJson;
try {
meta = require(`../${name}/package`);
meta = require(`../${name}/package.json`);
if (!meta.private) {
const version = await latest(meta.name);
if (gt(meta.version, version)) {