@voodocs/cli 1.0.0 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/voodocs_cli.py CHANGED
@@ -17,8 +17,9 @@ This is the main entry point for the voodocs command-line tool.
17
17
  import sys
18
18
  from pathlib import Path
19
19
 
20
- # Add lib to path
21
- lib_path = Path(__file__).parent / "lib"
20
+ # Add lib to path - resolve symlinks for npm global installs
21
+ script_path = Path(__file__).resolve()
22
+ lib_path = script_path.parent / "lib"
22
23
  sys.path.insert(0, str(lib_path))
23
24
 
24
25
  # Import and run CLI