We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32c5af0 commit 1f81a3fCopy full SHA for 1f81a3f
src/Api.php
@@ -255,7 +255,8 @@ private function authenticate()
255
*/
256
private function extractMetaDataFromTreeInfo(array $tree, $path, $recursive)
257
{
258
- if(empty($path) === false) {
+ if (empty($path) === false) {
259
+ $path = rtrim($path, '/') . '/';
260
$metadata = array_filter($tree, function ($entry) use ($path, $recursive) {
261
$match = false;
262
0 commit comments