From 72f1e29535ad53db5c74f781df76cd28f61a5a01 Mon Sep 17 00:00:00 2001 From: Jack Wilkinson Date: Sun, 14 Jul 2024 21:06:59 +0100 Subject: [PATCH] Removed auto populate of config on install without config --- modules/system/console/asset/AssetInstall.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/modules/system/console/asset/AssetInstall.php b/modules/system/console/asset/AssetInstall.php index 75f6a3ad8b..273a512a15 100644 --- a/modules/system/console/asset/AssetInstall.php +++ b/modules/system/console/asset/AssetInstall.php @@ -224,15 +224,13 @@ protected function processPackages(array $registeredPackages, PackageJson $packa } } - // Detect missing winter.mix.js files and install them + // Detect missing config files and install them if (!File::exists($package['config'])) { $this->info(sprintf( - 'No config file found for %s, creating one at %s...', + 'No config file found for %s, you should run %s:config', $name, - $package['config'] + $this->assetType )); - // @TODO: consider this when using vite - File::put($package['config'], File::get(__DIR__ . '/fixtures/' . $this->configFile . '.fixture')); } }