Fix for #343. The main issue was the array was not flattened which meant output paths when processing a directory ended up looking like mypath/dir1,dir2,fiename.json. Adding flat() fixes this.
Pull request:
also bumps version as the is currently does not match the npm version number
adds tests for the directory processing
adds an additional sld file to test processing multiple files
Fix for #343. The main issue was the array was not flattened which meant output paths when processing a directory ended up looking like
mypath/dir1,dir2,fiename.json
. Addingflat()
fixes this.Pull request: