From be5f66b71080c13c7226f641952989a64bc211a2 Mon Sep 17 00:00:00 2001 From: Volodymyr Kolesnykov Date: Tue, 18 Jun 2024 00:40:21 +0300 Subject: [PATCH] fix: revert changes to the import command --- src/commands/dev-env-import-sql.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/commands/dev-env-import-sql.js b/src/commands/dev-env-import-sql.js index 2597bce13..84a040e72 100644 --- a/src/commands/dev-env-import-sql.js +++ b/src/commands/dev-env-import-sql.js @@ -79,7 +79,7 @@ export class DevEnvImportSQLCommand { } const fd = await fs.promises.open( resolvedPath, 'r' ); - const importArg = [ 'db', '--disable-auto-rehash', '--skip-plugins', '--skip-themes' ].concat( + const importArg = [ 'db', '--disable-auto-rehash' ].concat( this.options.quiet ? '--silent' : [] ); const origIsTTY = process.stdin.isTTY; @@ -106,7 +106,9 @@ export class DevEnvImportSQLCommand { fs.unlinkSync( resolvedPath ); } - const cacheArg = [ 'wp', 'cache', 'flush', '--skip-plugins', '--skip-themes' ].concat( this.options.quiet ? '--quiet' : [] ); + const cacheArg = [ 'wp', 'cache', 'flush', '--skip-plugins', '--skip-themes' ].concat( + this.options.quiet ? '--quiet' : [] + ); await exec( lando, this.slug, cacheArg ); if (