diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2018-10-27 06:11:39 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-27 06:11:39 -0700 |
commit | 6adc87e3eb6193fd739b28931c19cf850c9b3276 (patch) | |
tree | c2e193d19474d1638875aa840cdeb14e6aadec97 /tools/third_party.py | |
parent | 7f204b980318215785aac8250351d24fda458f98 (diff) |
Ergonomics: Prompt TTY for permission escalation (#1081)
Diffstat (limited to 'tools/third_party.py')
-rw-r--r-- | tools/third_party.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/third_party.py b/tools/third_party.py index d6c97f13b..65ff437b7 100644 --- a/tools/third_party.py +++ b/tools/third_party.py @@ -125,8 +125,8 @@ def run_cargo(): # If the lockfile ends up in the git repo, it'll make cargo hang for everyone # else who tries to run sync_third_party. def delete_lockfile(): - lockfiles = find_exts( - path.join(rust_crates_path, "registry/index"), '.cargo-index-lock') + lockfiles = find_exts([path.join(rust_crates_path, "registry/index")], + ['.cargo-index-lock']) for lockfile in lockfiles: os.remove(lockfile) |