mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-09 07:09:57 +03:00
fix: don't switch branches in localdev
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user