Skip to content

Commit bdaf02f

Browse files
committed
💡 add test case
1 parent 25cb12b commit bdaf02f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CommandTrayHost/utils.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,12 +96,12 @@ std::wstring get_abs_path(const std::wstring& path_wstring, const std::wstring&
9696
return abs_path;
9797
}
9898
}
99-
else if(path_wstring == L"")
99+
else if(path_wstring == L"") // path: C:\windows, cmd: system32\cmd.exe
100100
{
101101
PathRemoveFileSpec(abs_path);
102102
return abs_path;
103103
}
104-
return path_wstring;
104+
return path_wstring; // path: C:\windows, cmd: system32\cmd.exe
105105
}
106106

107107
/*

0 commit comments

Comments
 (0)