ajskateboarder/scratch-git

Using Ctrl+S or the Save button occasionally makes diffing fail

Closed this issue · 1 comments

Describe the bug
Under some conditions (not sure which exactly), using Ctrl+S or the Save button causes the unzip command to run multiple times, preventing diff things from working

To Reproduce
Steps to reproduce the behavior:

  1. Go to a project
  2. Change a script
  3. Use Ctrl+S or the Save buton
  4. See error

Expected behavior
It should just work

Desktop (please complete the following information):

  • OS: Ubuntu 20.04
  • TurboWarp version: 1.10.1
  • Git version: 2.25.1

This was caused by using addEventListener too many times