Commit 7ac8755
committed
Set the 'RootFolder' only if it contains 'data' dir
It can happen that vendored package, does not contain
data directory (ie. when using 'go mod vendor', which
does not vendor not linked directories)
This should solve it, setting a directory as
'RootFolder' only if it contains 'data' subdirectory
Signed-off-by: David Pordomingo <[email protected]>1 parent 3bc7a4c commit 7ac8755
1 file changed
+6
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
328 | 328 | | |
329 | 329 | | |
330 | 330 | | |
331 | | - | |
332 | | - | |
| 331 | + | |
333 | 332 | | |
334 | 333 | | |
335 | 334 | | |
| |||
338 | 337 | | |
339 | 338 | | |
340 | 339 | | |
341 | | - | |
342 | | - | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
343 | 345 | | |
344 | 346 | | |
345 | 347 | | |
| |||
0 commit comments