forestryio / forestry-vscode

A Visual Studio Code extension for developing projects managed with Forestry.io
https://marketplace.visualstudio.com/items?itemName=forestryio.forestry
Apache License 2.0
18 stars 0 forks source link

Activating extension failed if pathToSettings is configured incorrectly #6

Open ncphillips opened 6 years ago

ncphillips commented 6 years ago

Describe the bug

Extension fails to activate if configured incorrectly.

To Reproduce Steps to reproduce the behavior:

  1. Open a project with a site in a sub-directory called site a. the forestry config will be located at site/.forestry/settings.yml b. the vscode "forestry.pathToSettings" will be set to ".forestry" instead of "site/.forestry"
  2. Error message is shown

Expected behavior

Screenshots image

Desktop (please complete the following information):

Static Site Generator: