Skip to content

Commit 9dcc8cc

Browse files
Fix errors on removing files in sync_cmake (#13081)
1 parent c278ecf commit 9dcc8cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/sync_cmakebuild.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
git clean -fd > /dev/null
4343
if [ -s $conflicts_file ];then
4444
echo "Conflicts detected, trying to remove referenced CMakeLists* files"
45-
grep -E -o '\s\S*CMakeLists\S*\s' $conflicts_file | xargs rm
45+
grep -E -o '\s\S*CMakeLists\S*\s' $conflicts_file | xargs rm -f
4646
git add .
4747
git commit -m "Remove conflicted CMakeLists"
4848
else

0 commit comments

Comments
 (0)