Skip to content
This repository has been archived by the owner on Mar 13, 2023. It is now read-only.

Convert Windows path to Unix path #85

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Convert Windows path to Unix path #85

wants to merge 1 commit into from

Conversation

gsantiago
Copy link

Custom snippets doesn't work on Windows because the function FileSystem.getDirectoryForPath expects a Unix path, not a Windows one.

This problem prevents the extension to load external files on Windows. To solve it, we can use the function FileUtils.convertWindowsPathToUnixPath provided by Brackets itself.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant