remove node_modules and .gitignore them
This commit is contained in:
-14
@@ -1,14 +0,0 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.toEndpointV1 = void 0;
|
||||
const url_parser_1 = require("@smithy/url-parser");
|
||||
const toEndpointV1 = (endpoint) => {
|
||||
if (typeof endpoint === "object") {
|
||||
if ("url" in endpoint) {
|
||||
return (0, url_parser_1.parseUrl)(endpoint.url);
|
||||
}
|
||||
return endpoint;
|
||||
}
|
||||
return (0, url_parser_1.parseUrl)(endpoint);
|
||||
};
|
||||
exports.toEndpointV1 = toEndpointV1;
|
||||
Reference in New Issue
Block a user