Skip to content

Commit 24b05f1

Browse files
committed
Use abspath to avoid breaking on symbolic links. Fixed #100
1 parent ff4faf6 commit 24b05f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

TypeScript.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import sublime_plugin
1010

1111
# get the directory path to this file; ST2 requires this to be done at global scope
12-
pluginDir = os.path.dirname(os.path.realpath(__file__))
12+
pluginDir = os.path.dirname(os.path.abspath(__file__))
1313
pluginName = os.path.basename(pluginDir)
1414

1515
libsDir = os.path.join(pluginDir, 'libs')

0 commit comments

Comments
 (0)