Skip to content

Commit

Permalink
no changes in js
Browse files Browse the repository at this point in the history
  • Loading branch information
sumo-slonik committed Jan 29, 2025
1 parent 6929cab commit 920515a
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/scripts/checkParser.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ cp src/libs/SearchParser/searchParser.js "$search_parser_backup" 2>/dev/null
npm run generate-search-parser
npm run generate-autocomplete-parser


if ! diff -q "$autocomplete_parser_backup" src/libs/SearchParser/autocompleteParser.js >/dev/null ||
! diff -q "$search_parser_backup" src/libs/SearchParser/searchParser.js >/dev/null; then
exit 1
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/verifyPodfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,5 @@ jobs:
- name: Setup Node
uses: ./.github/actions/composite/setupNode

- name: Check file format
run: file .github/scripts/checkParser.sh

- name: Verify podfile
run: ./.github/scripts/verifyPodfile.sh
1 change: 1 addition & 0 deletions src/libs/SearchParser/autocompleteParser.js
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,7 @@ function peg$parse(input, options) {
var peg$f0 = function(ranges) { return { autocomplete, ranges }; };
var peg$f1 = function(filters) { return filters.filter(Boolean).flat(); };
var peg$f2 = function(key, op, value) {
// tutaj jakoś coś
if (!value) {
autocomplete = {
key,
Expand Down
1 change: 1 addition & 0 deletions src/libs/SearchParser/autocompleteParser.peggy
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ filter = @(defaultFilter / freeTextFilter)

defaultFilter
= _ key:autocompleteKey _ op:operator _ value:identifier? {
// tutaj jakoś coś
if (!value) {
autocomplete = {
key,
Expand Down

0 comments on commit 920515a

Please sign in to comment.