fix: don't switch branches in localdev

This commit is contained in:
zkldi
2023-01-19 16:39:44 +00:00
parent 4aa5e852be
commit f416c43f6e
+4 -1
View File
@@ -254,7 +254,10 @@ export async function PullDatabaseSeeds(
// make sure we're on the right branch
// and up to date.
await local.switchBranch(branch);
if (Environment.nodeEnv !== "dev") {
await local.switchBranch(branch);
}
await local.pull();
return local;