Skip to content

Commit 64c8b7a

Browse files
committed
switched deprecated substr with charAt
1 parent d95df8a commit 64c8b7a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/util/UtilityLogic.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export class UtilityLogic {
9090
}
9191

9292
isContainer(url: string) {
93-
return url.substr(-1) === "/";
93+
return url.charAt(url.length-1) === "/";
9494
}
9595

9696
async createContainer(url: string) {

0 commit comments

Comments
 (0)