Skip to content

Commit e496179

Browse files
authored
Merge pull request #115 from oxinabox/patch-1
make sourcewalk process files async
2 parents 9b5927d + 0fbc5a5 commit e496179

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/patch/cst.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,8 @@ function sourcemap(f, path::AbstractString)
167167
end
168168

169169
function sourcemap_dir(f, path)
170-
for (dir, _, fs) in walkdir(path), file in fs
171-
if endswith(file, ".jl")
170+
@sync for (dir, _, fs) in walkdir(path), file in fs
171+
@async if endswith(file, ".jl")
172172
@info "SourceWalk: processing $file"
173173
sourcemap(f, joinpath(dir, file))
174174
end

0 commit comments

Comments
 (0)