improvement router promise

1 job for 6-t3-1-re-training-of-general-model-based-on-normalized-corpus in 22 seconds
Status Job ID Name Coverage
  Test
failed #10243
docker
test

00:00:22

 
Name Stage Failure
failed
test Test There is an unknown failure, please try again
  ✖  53:42  Missing semicolon.                                      semi
✖ 54:13 Expected space(s) after "if". keyword-spacing
✖ 54:13 Expected { after if condition. curly

2 warnings
8 errors
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
ERROR: Job failed: exit code 1