Open sttk opened 2 years ago
This PR is to resolve the issue #10 by changing the treatment of .name and .path properties.
.name
.path
Before:
.extensions
After:
NOTE:
""
[]
{}
[""]
{"": null}
resolve #10
This PR is to resolve the issue #10 by changing the treatment of
.name
and.path
properties.Before:
.name
/.path
contains dots, the text after last dot is treated as its extension whether.extensions
is empty or not.After:
.name
/.path
contains dots but.extensions
is not empty,.name
/.path
is treated that it has no extension..name
/.path
contains dots and.extensions
is empty, the text after last dot is treated as its extension.NOTE:
""
,[]
,{}
,[""]
,{"": null}
.resolve #10