sast failed - Unexpected token
Job #394172016 failed for 5daf53ff:
SyntaxError: in/app/assets/javascripts/filtered_search/filtered_search_manager.js: Unexpected token (465:40)
650 463 | const splitSearchToken = searchToken && searchToken.split(' ');
651 464 | let lastSearchToken = _.last(splitSearchToken);
652 > 465 | lastSearchToken = lastSearchToken?.toLowerCase();
653 | ^
654 466 |
655 467 | /**
656 468 | * If user writes "milestone", a known token, in the input, we should not
657 exit status 1
658 2020/01/05 14:47:03 Container exited with non zero status code
Looks like the sast job does not know about this new ?.
syntax