From 7065530e738f6754532dceb5b8d88fe962ca1523 Mon Sep 17 00:00:00 2001 From: Arik Chakma Date: Fri, 13 Oct 2023 00:18:39 +0600 Subject: [PATCH] Fix generate renderer script --- scripts/generate-renderer.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/generate-renderer.sh b/scripts/generate-renderer.sh index a18e057ca..eae444738 100644 --- a/scripts/generate-renderer.sh +++ b/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 '{}' \; +