Bicep Linter Issue When Folder Contains Space

I cloned a project and noticed that the bicep template fails to resolve the paths inside my template. The template was compiling successfully and the problem was just in VSCode.

var config = loadJsonContent('./config/config.json')

This line was throwing the following error:

An error occurred reading file. Could not find a part of the path 'c:\Users\soheil\project path\config\config.json'

The problem was that the project that has been cloned from Azure DevOps had space in it and it was encoded as "%20", that was the reason VSCode was unable to resolve the file. Renamed the project folder and it's all good now.