@scalar/api-client 0.7.35 → 0.7.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -25588,7 +25588,7 @@ const normalizePath = (path) => {
|
|
|
25588
25588
|
return "";
|
|
25589
25589
|
}
|
|
25590
25590
|
let normalizedPath = path.trim();
|
|
25591
|
-
if (normalizedPath.startsWith("/")) {
|
|
25591
|
+
if (normalizedPath.length > 1 && normalizedPath.startsWith("/")) {
|
|
25592
25592
|
normalizedPath = normalizedPath.slice(1);
|
|
25593
25593
|
}
|
|
25594
25594
|
return normalizedPath;
|