mirror of
https://gitcode.com/github-mirrors/react-native-update-cli.git
synced 2025-09-16 01:41:37 +08:00
fix taro cli path
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "react-native-update-cli",
|
"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.",
|
"description": "Command tools for javaScript updater with `pushy` service for react native apps.",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"bin": {
|
"bin": {
|
||||||
|
@@ -111,7 +111,7 @@ async function runReactNativeBundleCommand({
|
|||||||
|
|
||||||
const getTaroCli = () => {
|
const getTaroCli = () => {
|
||||||
try {
|
try {
|
||||||
cliPath = require.resolve('@tarojs/cli/bin/taro.js', {
|
cliPath = require.resolve('@tarojs/cli/bin/taro', {
|
||||||
paths: [process.cwd()],
|
paths: [process.cwd()],
|
||||||
});
|
});
|
||||||
} catch (e) {}
|
} catch (e) {}
|
||||||
|
Reference in New Issue
Block a user