mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-04-03 10:11:15 +02:00
fix(cli.js): do not run dependency updater on init plugin command
This commit is contained in:
@@ -81,7 +81,10 @@ ${chalk.yellow('Options')}
|
||||
)
|
||||
).promise
|
||||
.then(() => {
|
||||
if (command === 'init' && !process.argv.some((arg) => arg === '--ci')) {
|
||||
if (
|
||||
command === 'init' &&
|
||||
!process.argv.some((arg) => arg === '--ci' || arg === 'plugin')
|
||||
) {
|
||||
return import('../dist/api/dependency-manager.js').then(
|
||||
({ installDependencies }) => installDependencies()
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user