Skip to content

Commit

Permalink
Uppercase method
Browse files Browse the repository at this point in the history
  • Loading branch information
Muhammad Ibragimov committed Dec 13, 2021
1 parent 87585dd commit 96622e3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -802,7 +802,7 @@ export default function ({

function addPathAutoCompleteSetToContext(context: AutoCompleteContext, pos: Position) {
const ret = getCurrentMethodAndTokenPaths(editor, pos, parser);
context.method = ret.method;
context.method = ret.method?.toUpperCase();
context.token = ret.token;
context.otherTokenValues = ret.otherTokenValues;
context.urlTokenPath = ret.urlTokenPath;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ export class UrlPatternMatcher {
}

getTopLevelComponents = function (method) {
method = method.toUpperCase();
const methodRoot = this[method];
if (!methodRoot) {
return [];
Expand Down

0 comments on commit 96622e3

Please sign in to comment.