Skip to content

Commit c08c5c0

Browse files
committed
fix taro cli path
1 parent dc8c134 commit c08c5c0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-update-cli",
3-
"version": "1.40.0-beta.0",
3+
"version": "1.40.0-beta.1",
44
"description": "Command tools for javaScript updater with `pushy` service for react native apps.",
55
"main": "index.js",
66
"bin": {

src/bundle.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ async function runReactNativeBundleCommand({
111111

112112
const getTaroCli = () => {
113113
try {
114-
cliPath = require.resolve('@tarojs/cli/bin/taro.js', {
114+
cliPath = require.resolve('@tarojs/cli/bin/taro', {
115115
paths: [process.cwd()],
116116
});
117117
} catch (e) {}

0 commit comments

Comments
 (0)