Anyone using tap-spreadsheets-anywhere with local ...
# plugins-general
c
Anyone using tap-spreadsheets-anywhere with local files? How was this ever supposed to work? 😂 @visch I didn't investigate writing a unit test for this ... https://github.com/ets/tap-spreadsheets-anywhere/pull/27
j
I am using it and it is working lol
c
It's not properly building the relative path based from the "rootdir"
Instead it just uses the filename as the relative path
It was driving me insane. because any files directly under the "root" directory (i.e. the folder that you specify in the "path" setting of the tap) will work just fine. But files in subdirectories will simply not work at all, even though the tap "discovers" them and includes them in the total count of files available to process, but then when it does the "file exists" check, those entries get removed again because the absolute path is:
"rootpath" + "filename"
whereas it should be
"rootpath" + "relativepath"
j
nice find and fix
although maybe its designed to work like that on purpose?
c
Haha. If the purpose is to be broken then maybe. 😁