Skip to content

Commit 5d23099

Browse files
committed
Tweaks
Signed-off-by: Prabhu Subramanian <prabhu@appthreat.com>
1 parent 63e48cf commit 5d23099

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ jobs:
8686
- name: Release Anaconda
8787
if: startsWith(github.ref, 'refs/tags/')
8888
run: |
89-
anaconda upload --label main -u appthreat /tmp/conda-out/noarch/*.tar.bz2
89+
$CONDA/bin/anaconda upload --label main -u appthreat /tmp/conda-out/noarch/*.tar.bz2
9090
env:
9191
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_TOKEN }}
9292
continue-on-error: true

console/src/main/scala/io/appthreat/console/Console.scala

+2-2
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@ class Console[T <: Project](
528528
tree: Boolean = false,
529529
as_text: Boolean = false
530530
): String =
531-
if tree then
531+
if tree || includeCalls then
532532
val rootTree = richTreeLib.Tree(title, highlight = true)
533533
atom.file.whereNot(_.name("<(unknown|includes)>")).foreach { f =>
534534
val childTree = richTreeLib.Tree(f.name, highlight = true)
@@ -652,7 +652,7 @@ class Console[T <: Project](
652652
val dec: Set[Declaration] =
653653
(f.assignment.argument(1).filterNot(
654654
_.code == "this"
655-
).isIdentifier.refsTo ++ f.method.parameter
655+
).isIdentifier.nameNot("tmp[0-9]+$").refsTo ++ f.method.parameter
656656
.filterNot(_.code == "this")
657657
.filter(_.typeFullName != "ANY")).toSet
658658
table.add_row(f.name, dec.name.toSet.mkString("\n"))

0 commit comments

Comments
 (0)