1 parent a0ad71a commit 0ec566cCopy full SHA for 0ec566c
1 file changed
src/BitCheck/Application/BitCheckApplication.cs
@@ -275,7 +275,7 @@ private void ProcessSingleFile(string filePath)
275
if (_options.SingleDatabase)
276
{
277
// In single-db mode, use the database in the current directory with relative path as key
278
- var rootPath = Path.GetFullPath(".");
+ var rootPath = Directory.GetCurrentDirectory();
279
dbPath = Path.Combine(rootPath, BitCheckConstants.DatabaseFileName);
280
databaseKey = Path.GetRelativePath(rootPath, fullFilePath);
281
}
0 commit comments