We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9541ede commit 4da1c40Copy full SHA for 4da1c40
src/parse.ts
@@ -190,14 +190,6 @@ function parseCommand(source: string, options: ParseOptions) {
190
}
191
192
193
- // TODO: this should be an issue in the docs,
194
- // the correct url is `<index/_mapping`
195
- if (data.path.endsWith("_mappings")) {
196
- data.path = data.path.slice(0, -1);
197
- data.rawPath = data.rawPath.slice(0, -1);
198
- data.url = data.url.replace(data.path + "s", data.path);
199
- }
200
-
201
// identify the body
202
const body = removeTrailingCommas(
203
collapseLiteralStrings(source.slice(index)),
0 commit comments