Skip to content

Commit 69d17f8

Browse files
committed
changing the order of package/starterkit/config install
1 parent 3a6fd6e commit 69d17f8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/PatternLab/InstallerUtil.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -591,11 +591,6 @@ protected static function packagesInstall($installerInfo, $event) {
591591
// initialize a bunch of stuff like config and console
592592
self::init();
593593

594-
// make sure user is prompted to install starterkit
595-
if (!empty($installerInfo["suggestedStarterKits"])) {
596-
self::promptStarterKitInstall($installerInfo["suggestedStarterKits"]);
597-
}
598-
599594
// reorder packages so the starterkit is first if it's being installed as a package
600595
if (isset($installerInfo["packages"])) {
601596

@@ -633,6 +628,11 @@ protected static function packagesInstall($installerInfo, $event) {
633628

634629
}
635630

631+
// make sure user is prompted to install starterkit
632+
if (!empty($installerInfo["suggestedStarterKits"])) {
633+
self::promptStarterKitInstall($installerInfo["suggestedStarterKits"]);
634+
}
635+
636636
// override any configs that have been set-up
637637
if (!empty($installerInfo["configOverrides"])) {
638638
foreach ($installerInfo["configOverrides"] as $option => $value) {

0 commit comments

Comments
 (0)