Skip to content

Commit

Permalink
Removed auto populate of config on install without config
Browse files Browse the repository at this point in the history
  • Loading branch information
jaxwilko committed Jul 14, 2024
1 parent 287dae5 commit 72f1e29
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions modules/system/console/asset/AssetInstall.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'));
}
}

Expand Down

0 comments on commit 72f1e29

Please sign in to comment.