Comparing version 1.2.9 to 1.3.0
@@ -23,10 +23,7 @@ // @ts-ignore | ||
}); | ||
// if (status()) { | ||
// return currentRoute; | ||
// } | ||
return currentRoute === null ? "Can't get the pathname!" : currentRoute; | ||
} catch (error) { | ||
return false; | ||
} | ||
return currentRoute === null ? "Can't get the pathname!" : currentRoute; | ||
} | ||
@@ -33,0 +30,0 @@ |
@@ -7,3 +7,3 @@ { | ||
"name": "sockettwo", | ||
"version": "1.2.9", | ||
"version": "1.3.0", | ||
"main": "index.js", | ||
@@ -10,0 +10,0 @@ "scripts": { |
4333
132