Skip to content

Commit ce8fb62

Browse files
authored
Stop expanding symlinks in paths, since an absolute path is likely the right choice. (#13886)
1 parent 375bdbd commit ce8fb62

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

utils/build_swift/argparse/types.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,6 @@ def __init__(self, assert_exists=False, assert_executable=False):
113113
def __call__(self, path):
114114
path = os.path.expanduser(path)
115115
path = os.path.abspath(path)
116-
path = os.path.realpath(path)
117116

118117
if self._assert_exists and not os.path.exists(path):
119118
raise ArgumentTypeError('{} does not exists'.format(path))

0 commit comments

Comments
 (0)