diff --git a/package.json b/package.json index cfb1097..71bc27f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-update-cli", - "version": "1.40.0-beta.0", + "version": "1.40.0-beta.1", "description": "Command tools for javaScript updater with `pushy` service for react native apps.", "main": "index.js", "bin": { diff --git a/src/bundle.ts b/src/bundle.ts index fc56512..7e42048 100644 --- a/src/bundle.ts +++ b/src/bundle.ts @@ -111,7 +111,7 @@ async function runReactNativeBundleCommand({ const getTaroCli = () => { try { - cliPath = require.resolve('@tarojs/cli/bin/taro.js', { + cliPath = require.resolve('@tarojs/cli/bin/taro', { paths: [process.cwd()], }); } catch (e) {}