Skip to content

Commit

Permalink
Resolve destination path
Browse files Browse the repository at this point in the history
Co-authored-by: Jesse Schwartzentruber <[email protected]>
  • Loading branch information
pyoor and jschwartzentruber committed Dec 1, 2022
1 parent 8ea38ea commit 5e8c2a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fuzzfetch/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -774,7 +774,7 @@ def from_args(
if args.name is None:
args.name = obj.get_auto_name()

final_dir = args.out / args.name
final_dir = (args.out / args.name).resolve()
if not skip_dir_check and os.path.exists(final_dir):
parser.parser.error(f"Folder exists: {final_dir} .. exiting")

Expand Down

0 comments on commit 5e8c2a5

Please sign in to comment.