jrowny / brackets-snippets

A brackets snippets extension
http://www.github.com/adobe/brackets
Other
129 stars 42 forks source link

Fix error if a directory exists in the data directory #9

Closed mitsuruog closed 11 years ago

mitsuruog commented 11 years ago

Error occurs if the directory exists in the data directory.

ex)

Directory structure

brackets-snippets
|- config.js
|- data
  |- some.json
  |- someDirectory
    |- some.snippet

some.json

[
    {
        "name": "somename",
        "trigger": "some",
        "usage": "some",
        "description": "snippet in sub directory",
        "template": "someDirectory/some.snippet"
    }
]

Thank you for providing a nice plugin!! Thanks.

jrowny commented 11 years ago

thank you!