forestry-vscode
forestry-vscode copied to clipboard
Activating extension failed if pathToSettings is configured incorrectly
trafficstars
Describe the bug
Extension fails to activate if configured incorrectly.
To Reproduce Steps to reproduce the behavior:
- Open a project with a site in a sub-directory called
sitea. the forestry config will be located atsite/.forestry/settings.ymlb. the vscode"forestry.pathToSettings"will be set to".forestry"instead of"site/.forestry" - Error message is shown
Expected behavior
- Extension should successfully activate
- Show Error Message
Screenshots

Desktop (please complete the following information):
- OS: MacOS
- VSCode Version: 1.25.0
- Forestry Extension Version: 0.2.0
Static Site Generator:
- Generator: Hugo