mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-14 09:59:48 -05:00
FileUtils.TestServerNamesDefaultFileName_get uses '… + @"\\" + …' construct to build the default path for the test server names file. While escaping a backslash in a verbatim string is a typo, the approach was error-prone. Replace string manipulation and environment variables magic with calls to well-tested library functions. GetSettingFileContent() displays a message on switching to VS Code settings when SQL connection instances were configured. Move the message to the branch for the absent test configuration file.
2.6 KiB
2.6 KiB