File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -106,9 +106,9 @@ findSourceFiles fsPerm outline outlinePath =
106106 in
107107 Array.map (\srcDir -> Path.append srcDir outlinePath) sourceDirs
108108 |> Array.map (findSourceFilesHelp fsPerm Path.empty)
109- |> Task.sequence
109+ |> Task.concurrent
110110 |> Task.map Array.flatten
111- |> Task.andThen (\paths -> Task.sequence <| Array.map (readSourceFile fsPerm) paths)
111+ |> Task.andThen (\paths -> Task.concurrent <| Array.map (readSourceFile fsPerm) paths)
112112
113113
114114findSourceFilesHelp : FileSystem.Permission -> Path -> Path -> Task FileSystem.Error (Array { absolute : Path, relative : Path })
@@ -137,7 +137,7 @@ findSourceFilesHelp fsPerm local root =
137137 _ ->
138138 Nothing
139139 )
140- |> Task.sequence
140+ |> Task.concurrent
141141 |> Task.map Array.flatten
142142 )
143143
You can’t perform that action at this time.
0 commit comments