From cc3f5dc093562c734a7e510b2801bfbaacba34eb Mon Sep 17 00:00:00 2001 From: sunnylqm Date: Tue, 10 Mar 2020 09:23:47 +0800 Subject: [PATCH] Update build time hint --- src/utils/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/index.js b/src/utils/index.js index b849a1f..89b9503 100644 --- a/src/utils/index.js +++ b/src/utils/index.js @@ -66,7 +66,7 @@ export async function getApkInfo(fn) { } } if (buildTime == 0) { - throw new Error('Can not get build time for this app.'); + throw new Error('无法获取此包的编译时间戳。请更新react-native-update到最新版本后重新打包上传。'); } return { versionName, buildTime }; } @@ -86,7 +86,7 @@ export async function getIpaInfo(fn) { ); } if (!buildTimeTxtBuffer) { - throw new Error('Can not get build time for this app.'); + throw new Error('无法获取此包的编译时间戳。请更新react-native-update到最新版本后重新打包上传。'); } const buildTime = buildTimeTxtBuffer.toString().replace('\n', ''); return { versionName, buildTime };