Fixed String::simplify_path Variant return type

This commit is contained in:
Wilson E. Alvarez 2021-08-29 20:25:00 -04:00
parent 17e61fa0af
commit f5409e7c3f
No known key found for this signature in database
GPG Key ID: A32174A3D2ED3F9E
2 changed files with 2 additions and 2 deletions

View File

@ -1688,7 +1688,7 @@ void register_variant_methods() {
ADDFUNC0R(STRING, BOOL, String, empty, varray());
ADDFUNC1R(STRING, STRING, String, humanize_size, INT, "size", varray());
ADDFUNC0R(STRING, BOOL, String, is_abs_path, varray());
ADDFUNC0R(STRING, BOOL, String, simplify_path, varray());
ADDFUNC0R(STRING, STRING, String, simplify_path, varray());
ADDFUNC0R(STRING, BOOL, String, is_rel_path, varray());
ADDFUNC0R(STRING, STRING, String, get_base_dir, varray());
ADDFUNC0R(STRING, STRING, String, get_file, varray());

View File

@ -667,7 +667,7 @@
</description>
</method>
<method name="simplify_path">
<return type="bool" />
<return type="String" />
<description>
Returns a simplified canonical path.
</description>