Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion typescript/libs/popup_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ def load_html_template(html_file_name):
html_path = os.path.join(PLUGIN_DIR, html_file_name)

# Needs to be in format such as: 'Packages/TypeScript/signature_popup.html'
rel_path = html_path[len(sublime.packages_path()) - len('Packages'):]
rel_path = os.path.relpath(html_path, os.path.normpath(os.path.join(sublime.packages_path(), '..')))
rel_path = rel_path.replace('\\', '/') # Yes, even on Windows

log.info('Loaded html template from {0}'.format(rel_path))
Expand Down