Skip to content
This repository has been archived by the owner on Feb 7, 2023. It is now read-only.

Commit

Permalink
fixing a bug with the migrator
Browse files Browse the repository at this point in the history
  • Loading branch information
dmolsen committed Jan 27, 2014
1 parent 51100bf commit b686666
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/lib/PatternLab/Configurer.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public function getConfig() {
}

// check the config version and update it if necessary
if (!isset($config["v"]) || ($config["v"] != $defaultConfig["v"])) {
if ($migrate || ($config["v"] != $defaultConfig["v"])) {
print "upgrading your version of pattern lab...\n";
$config = $this->writeNewConfig($config,$defaultConfig);
$diffVersion = true;
Expand Down

0 comments on commit b686666

Please sign in to comment.