Wrap __file__ access in os.path.abspath first for safety

GitOrigin-RevId: 9aa9a787b92867bfb5ba63b5e2f323013d119f3d
This commit is contained in:
Mikhail Golubev
2019-06-10 19:43:55 +03:00
committed by intellij-monorepo-bot
parent 41a2404011
commit 16afeb86f0
+1 -1
View File
@@ -28,7 +28,7 @@ def is_test_mode():
return ENV_TEST_MODE_FLAG in os.environ
_helpers_dir = os.path.dirname(__file__)
_helpers_dir = os.path.dirname(os.path.abspath(__file__))
def redo_module(module_name, module_file_name, doing_builtins, cache_dir, sdk_dir=None):