Rename BranchSwitcher
This commit is contained in:
parent
129ba3695b
commit
34d530e055
1 changed files with 1 additions and 1 deletions
|
|
@ -180,7 +180,7 @@ function makeShortcuts() {
|
|||
experimentBucket: bucket,
|
||||
});
|
||||
},
|
||||
makeBranchSwitcher: (branch: string) => {
|
||||
switchBranch: (branch: string) => {
|
||||
if (!IS_VESKTOP) throw new Error("This function only works on vesktop and equibop.");
|
||||
const target = IS_VESKTOP ? Vesktop : Equibop;
|
||||
if (target.Settings.store.discordBranch === branch) throw new Error(`Already on ${branch}.`);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue