Skip to content

Commit

Permalink
Don't shell escape posix-style paths
Browse files Browse the repository at this point in the history
Signed-off-by: Dan Ryan <[email protected]>
  • Loading branch information
techalchemy committed May 27, 2018
1 parent 311c90d commit 824f822
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions pipenv/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1187,10 +1187,8 @@ def get_vcs_deps(
if installed.is_vcs:
installed.req.ref = locked_rev
lockfiles.append({pipfile_name: installed.pipfile_entry[1]})
pipfile_srcdir = escape_grouped_arguments((src_dir / pipfile_name).as_posix())
lockfile_srcdir = escape_grouped_arguments(
(src_dir / installed.normalized_name).as_posix()
)
pipfile_srcdir = (src_dir / pipfile_name).as_posix()
lockfile_srcdir = (src_dir / installed.normalized_name).as_posix()
lines.append(line)
if os.path.exists(pipfile_srcdir):
lockfiles.extend(
Expand Down

0 comments on commit 824f822

Please sign in to comment.