From 34509028627aa44c02ec38bf6c45e797c8ccfc69 Mon Sep 17 00:00:00 2001 From: Lucas Nogueira Date: Fri, 1 Oct 2021 10:39:09 -0300 Subject: [PATCH] fix(cli.js): do not run dependency updater on `init plugin` command --- tooling/cli.js/bin/tauri.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tooling/cli.js/bin/tauri.js b/tooling/cli.js/bin/tauri.js index 5cc8f1e39..979a9945b 100755 --- a/tooling/cli.js/bin/tauri.js +++ b/tooling/cli.js/bin/tauri.js @@ -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() )