Skip to content

Commit

Permalink
Merge pull request github#335 from jparise/find-lfs-extensions-argv
Browse files Browse the repository at this point in the history
Correct the argv test for user-supplied arguments
  • Loading branch information
larsxschneider authored Jun 11, 2020
2 parents 297762a + 2e63399 commit bfd05c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/git-find-lfs-extensions
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import os
import sys

# Threshold that defines a large file
if len(sys.argv):
if len(sys.argv) > 1:
THRESHOLD_IN_MB = float(sys.argv[1]) / 1024
else:
THRESHOLD_IN_MB = 0.5
Expand Down

0 comments on commit bfd05c8

Please sign in to comment.