mirror of
https://gitcode.com/github-mirrors/react-native-update-cli.git
synced 2025-11-08 10:15:47 +08:00
fix taro cli path
This commit is contained in:
@@ -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) {}
|
||||
|
||||
Reference in New Issue
Block a user