Skip to content

Commit 79803f6

Browse files
removing trailing whitespace
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 5474521 commit 79803f6

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/scancode/cli.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,6 @@ def validate_input_path(ctx, param, value):
192192
if from_json and not is_file(location=inp, follow_symlinks=True):
193193
# extra JSON validation
194194
raise click.BadParameter(f"JSON input: {inp!r} is not a file")
195-
196195
if from_json and is_file(location=inp, follow_symlinks=True):
197196
if not inp.lower().endswith(".json"):
198197
raise click.BadParameter(f"JSON input: {inp!r} is not a JSON file with a .json extension")

0 commit comments

Comments
 (0)