Skip to content

Activating extension failed if pathToSettings is configured incorrectly #6

@ncphillips

Description

@ncphillips

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

  • Extension should successfully activate
  • Show Error Message

Screenshots
image

Desktop (please complete the following information):

  • OS: MacOS
  • VSCode Version: 1.25.0
  • Forestry Extension Version: 0.2.0

Static Site Generator:

  • Generator: Hugo

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions