mirror of
https://github.com/xiaozhou233/JuiceAgent.git
synced 2026-12-05 21:15:56 +08:00
BugFix
This commit is contained in:
1 parent
748b118fb1
commit
011fafb5b0
1 file changed
+1
-1
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user