Skip to content

Commit

Permalink
Merge pull request #1653 from codefori/fix/branchlib_vs_branch
Browse files Browse the repository at this point in the history
Fix variable assignment order in CompileTools.ts
  • Loading branch information
sebjulliand authored Nov 15, 2023
2 parents c70a657 + 30de6a3 commit 2ae070e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/CompileTools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -246,9 +246,9 @@ export namespace CompileTools {
const branch = repo.state.HEAD?.name;

if (branch) {
variables.set(`&BRANCHLIB`, getBranchLibraryName(branch));
variables.set(`&BRANCH`, branch);
variables.set(`{branch}`, branch);
variables.set(`&BRANCHLIB`, getBranchLibraryName(branch));
}
}
} catch (e) {
Expand Down

0 comments on commit 2ae070e

Please sign in to comment.