alexdima / vscode-lcov

MIT License
39 stars 13 forks source link

Error when opening a single file #4

Closed egamma closed 8 years ago

egamma commented 8 years ago

When I open a single file and not a folder, then I get the exception below.

[Extension Host] Activating extension `alexdima.vscode-lcov` failed:  Path must be a string. Received undefined(anonymous function) @ workbench.main.js:122
workbench.main.js:122[Extension Host] Here is the error stack:  TypeError: Path must be a string. Received undefined
    at assertPath (path.js:7:11)
    at Object.join (path.js:466:7)
    at C:\Users\egamma\.vscode-insiders\extensions\alexdima.vscode-lcov-0.1.0\out\src\configuration.js:22:76
    at Array.map (native)
    at new Configuration (C:\Users\egamma\.vscode-insiders\extensions\alexdima.vscode-lcov-0.1.0\out\src\configuration.js:22:29)
    at checkUpdateConfig (C:\Users\egamma\.vscode-insiders\extensions\alexdima.vscode-lcov-0.1.0\out\src\extension.js:15:25)
    at activate (C:\Users\egamma\.vscode-insiders\extensions\alexdima.vscode-lcov-0.1.0\out\src\extension.js:25:5)
    at Function.t._callActivateOptional (C:\Program Files (x86)\Microsoft VS Code Insiders\resources\app\out\vs\workbench\node\extensionHostProcess.js:12:22586)
    at Function.t._callActivate (C:\Program Files (x86)\Microsoft VS Code Insiders\resources\app\out\vs\workbench\node\extensionHostProcess.js:12:22369)
    at C:\Program Files (x86)\Microsoft VS Code Insiders\resources\app\out\vs\workbench\node\extensionHostProcess.js:12:22241