prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  Make Typescript code Prettier
  We should add automated formatting for our typescript files. I think https://prettier.io/ is pretty good, but the choice is open for discussion. The formatting should be done in `manage.py format` and be checked in CI.
  
  --- END ISSUE ---
  
  Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
  --- BEGIN FILES ---
  Path: `evap/evaluation/management/commands/format.py`
  Content:
  ```
  1 import subprocess  # nosec
  2 
  3 from django.core.management.base import BaseCommand
  4 
  5 
  6 class Command(BaseCommand):
  7     args = ""
  8     help = "Runs the code formatter"
  9     requires_migrations_checks = False
  10 
  11     def handle(self, *args, **options):
  12         subprocess.run(["black", "evap"], check=False)  # nosec
  13         subprocess.run(["isort", "."], check=False)  # nosec
  14
  ```
  --- END FILES ---
  
  Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.
  
  Here is an example:
  
  ```diff
  diff --git a/examples/server_async.py b/examples/server_async.py
  --- a/examples/server_async.py
  +++ b/examples/server_async.py
  @@ -313,4 +313,4 @@
   
   
   if __name__ == "__main__":
  -    asyncio.run(run_async_server("."), debug=True)
  +    asyncio.run(run_async_server(), debug=True)
  diff --git a/examples/server_sync.py b/examples/server_sync.py
  --- a/examples/server_sync.py
  +++ b/examples/server_sync.py
  @@ -313,5 +313,5 @@
   
   
   if __name__ == "__main__":
  -    server = run_sync_server(".")
  +    server = run_sync_server()
       server.shutdown()
  
  ```
  
golden_diff: diff --git a/evap/evaluation/management/commands/format.py b/evap/evaluation/management/commands/format.py
  --- a/evap/evaluation/management/commands/format.py
  +++ b/evap/evaluation/management/commands/format.py
  @@ -11,3 +11,4 @@
       def handle(self, *args, **options):
           subprocess.run(["black", "evap"], check=False)  # nosec
           subprocess.run(["isort", "."], check=False)  # nosec
  +        subprocess.run(["npx", "prettier", "--write", "evap/static/ts/src"], check=False)  # nosec
  
verification_info: {"golden_diff": "diff --git a/evap/evaluation/management/commands/format.py b/evap/evaluation/management/commands/format.py\n--- a/evap/evaluation/management/commands/format.py\n+++ b/evap/evaluation/management/commands/format.py\n@@ -11,3 +11,4 @@\n     def handle(self, *args, **options):\n         subprocess.run([\"black\", \"evap\"], check=False)  # nosec\n         subprocess.run([\"isort\", \".\"], check=False)  # nosec\n+        subprocess.run([\"npx\", \"prettier\", \"--write\", \"evap/static/ts/src\"], check=False)  # nosec\n", "issue": "Make Typescript code Prettier\nWe should add automated formatting for our typescript files. I think https://prettier.io/ is pretty good, but the choice is open for discussion. The formatting should be done in `manage.py format` and be checked in CI.\n", "before_files": [{"content": "import subprocess  # nosec\n\nfrom django.core.management.base import BaseCommand\n\n\nclass Command(BaseCommand):\n    args = \"\"\n    help = \"Runs the code formatter\"\n    requires_migrations_checks = False\n\n    def handle(self, *args, **options):\n        subprocess.run([\"black\", \"evap\"], check=False)  # nosec\n        subprocess.run([\"isort\", \".\"], check=False)  # nosec\n", "path": "evap/evaluation/management/commands/format.py"}], "after_files": [{"content": "import subprocess  # nosec\n\nfrom django.core.management.base import BaseCommand\n\n\nclass Command(BaseCommand):\n    args = \"\"\n    help = \"Runs the code formatter\"\n    requires_migrations_checks = False\n\n    def handle(self, *args, **options):\n        subprocess.run([\"black\", \"evap\"], check=False)  # nosec\n        subprocess.run([\"isort\", \".\"], check=False)  # nosec\n        subprocess.run([\"npx\", \"prettier\", \"--write\", \"evap/static/ts/src\"], check=False)  # nosec\n", "path": "evap/evaluation/management/commands/format.py"}]}