Skip to content

Commit 1ade40b

Browse files
committed
Merge pull request #20 from jamoy/patch-1
Added .gitignore as one of the files to be ignored when pruning
2 parents f03a992 + 6b47132 commit 1ade40b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Flow/Uploader.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public static function pruneChunks($chunksFolder, $expirationTime = 172800)
2121
}
2222

2323
while (false !== ($entry = readdir($handle))) {
24-
if ($entry == "." || $entry == "..") {
24+
if ($entry == "." || $entry == ".." || $entry == ".gitignore") {
2525
continue;
2626
}
2727

0 commit comments

Comments
 (0)