Skip to content

Commit 0a05e95

Browse files
authored
Merge pull request #312 from ericcornelissen/fix-minor-code-mistakes
Two minor code fixes
2 parents 31872f1 + a04d948 commit 0a05e95

4 files changed

Lines changed: 3 additions & 5 deletions

File tree

.github/update-release-branch.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,8 @@ def get_pr_for_commit(repo, commit):
123123
if prs.totalCount > 0:
124124
# In the case that there are multiple PRs, return the earliest one
125125
prs = list(prs)
126-
sorted(prs, key=lambda pr: int(pr.number))
127-
return prs[0]
126+
sorted_prs = sorted(prs, key=lambda pr: int(pr.number))
127+
return sorted_prs[0]
128128
else:
129129
return None
130130

lib/tracer-config.test.js

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/tracer-config.test.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/tracer-config.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ test("getTracerConfigForLanguage - existing / critical vars", async (t) => {
6464
process.env["SEMMLE_COPY_EXECUTABLES_ROOT"] = "abc";
6565
process.env["SEMMLE_DEPTRACE_SOCKET"] = "abc";
6666
process.env["SEMMLE_JAVA_TOOL_OPTIONS"] = "abc";
67-
process.env["SEMMLE_DEPTRACE_SOCKET"] = "abc";
6867
process.env["CODEQL_VAR"] = "abc";
6968

7069
// Now CodeQL returns all these variables, and one more, with different values

0 commit comments

Comments
 (0)