remove node_modules and .gitignore them
This commit is contained in:
-10
@@ -1,10 +0,0 @@
|
||||
import { parseUrl } from "@smithy/url-parser";
|
||||
export const toEndpointV1 = (endpoint) => {
|
||||
if (typeof endpoint === "object") {
|
||||
if ("url" in endpoint) {
|
||||
return parseUrl(endpoint.url);
|
||||
}
|
||||
return endpoint;
|
||||
}
|
||||
return parseUrl(endpoint);
|
||||
};
|
||||
Reference in New Issue
Block a user