Skip to content

Commit

Permalink
change .js file
Browse files Browse the repository at this point in the history
  • Loading branch information
sumo-slonik committed Jan 29, 2025
1 parent e87c58c commit 2380b29
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/verifyParserFiles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ jobs:
uses: ./.github/actions/composite/setupNode

- name: Checking consistency
run: ./.github/scripts/verifyPodfile.sh
run: ./.github/scripts/checkParser.sh
7 changes: 0 additions & 7 deletions src/libs/SearchParser/autocompleteParser.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,6 @@ function peg$SyntaxError(message, expected, found, location) {

peg$subclass(peg$SyntaxError, Error);

function peg$padEnd(str, targetLength, padString) {
padString = padString || " ";
if (str.length > targetLength) { return str; }
targetLength -= str.length;
padString += padString.repeat(targetLength);
return str + padString.slice(0, targetLength);
}

peg$SyntaxError.prototype.format = function(sources) {
var str = "Error: " + this.message;
Expand Down

0 comments on commit 2380b29

Please sign in to comment.