make path empty if not defined

This commit is contained in:
metacryst
2024-01-12 18:04:38 -06:00
parent f8cfd4fae6
commit c07339ac1d

View File

@@ -5,6 +5,9 @@ class PathProcessor {
constructor(path) {
this.path = path;
if(path === undefined) {
this.path = ""
}
}
#removeTrailingSlash(path) {