Skip to content

Commit

Permalink
chore: 更新路径打印辅助,以便debug
Browse files Browse the repository at this point in the history
  • Loading branch information
ARCJ137442 committed Aug 29, 2023
1 parent 3977e97 commit ef03306
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions src/JuNarsese.jl
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,27 @@ module JuNarsese

using Reexport

# !测试用 #

@info "当前路径" pwd()

println("ls: ")
print_path(path) = begin
try
cd(path)
catch _ return nothing end
paths = split(`ls` |> read |> String, "\n")
try
@info "path@$path"
join(paths, "\n") |> println
catch _ return nothing end
for path in paths
print_path(path)
end
cd("..")
end
print_path(pwd())

# 导入各个文件 #

# 不导出Util
Expand Down

0 comments on commit ef03306

Please sign in to comment.