Fix generate renderer script

feat/readonly-editor
Arik Chakma 1 year ago
parent 8b2a9d3cb1
commit 7065530e73
  1. 5
      scripts/generate-renderer.sh

@ -28,6 +28,9 @@ find editor -type f \( -name "*.ts" -o -name "*.tsx" \) -print0 | while IFS= rea
done
# add files to git so that `fatal` errors don't occur
git add editor/*
# ignore the worktree changes for the editor directory
git update-index --skip-worktree editor/*
find editor -type f -exec git update-index --assume-unchanged '{}' \;

Loading…
Cancel
Save