Skip to content

Conversation

@croach
Copy link

@croach croach commented Sep 30, 2017

Loading the extension created by the yo code command results in the following error:

[${workspaceFolder}]: Error: ENOENT: no such file or directory, scandir '${workspaceFolder}'

This happens because the workspaceFolder environment variable used in the multiple instances of launch.json does not exist (no longer exists?). The documentation suggests that workspaceRoot variable is what should be used. This commit switches all instances of workspaceFolder to workspaceRoot to fix issue #88.

The `workspaceFolder` environment variable used in the multiple
instances of launch.json does not exist (no longer exists?). The
[documentation][1] suggests that `workspaceRoot` variable is what
should be used. This commit switches all instances of
`workspaceFolder` to `workspaceRoot`.

[1]: https://code.visualstudio.com/docs/editor/tasks#_variable-substitution
@msftclas
Copy link

msftclas commented Sep 30, 2017

CLA assistant check
All CLA requirements met.

@aeschli aeschli closed this in 5005543 Oct 2, 2017
@aeschli
Copy link
Collaborator

aeschli commented Oct 2, 2017

Thanks for pointing to this, we published that change to early. ${workspaceFolder} will be available in 1.18

@aeschli aeschli added this to the September 2017 milestone Oct 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants