This commit is contained in:
xiaozhou233 committed 2026-04-04 14:24:47 +08:00
1 parent 748b118fb1
commit 011fafb5b0
1 file changed
+1 -1
+1 -1
View File
@@ -100,7 +100,7 @@ public:
std::string s = val->as<std::string>();
if (use_default_if_empty && s.empty()) return default_value;
// Check if string starts with '.'
if (is_path && .starts_with('.')) {
if (is_path && s.starts_with('.')) {
// remove '.'
s.erase(0, 1);