Closed kab4rt closed 3 years ago
Hello! I have updated the extension earlier this week. I might have broken something. I will try to have a look a soon as possible.
Thank you for the issue report and the time you took to find the root cause. It should be all fixed now. 😇
Thank you as well, I can confirm version 1.8.1 is working as expected 👍
Hi,
Starting my work today I was surprised to find that the adapter stopped detecting my Ceedling project correctly with standard message: Failed to find the project.yml file. Please check the ceedlingExplorer.projectPath option. The important factor is that my project.yml file is not present in root workspace directory.
As this seemed a bit odd I have tried to find the root cause of the problem. Downgrading version to 1.7.0 solves the issue. In my opinion the problem is caused by this commit: https://github.com/numaru/vscode-ceedling-test-adapter/commit/8a55e09f72da6b00283c0d9dd2529439cd0ce94c , especially the line 241:
I guess what you tried to achieve is to enter fallback path in case specified path does not exist or points to a file instead of a directory. However, in my case the expression evaluates to true and function takes fallback
defaultProjectPath
path. I guess that this change should solve the problem: