Skip to content

Commit 9b2160a

Browse files
mae616claude
andcommitted
fix: 不要な存在チェックを削除
INCLUDESからAGENTS.mdを除外したため、rsync前の存在チェックは不要。 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 514268a commit 9b2160a

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

scripts/apply_template.sh

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -126,12 +126,6 @@ for p in "${INCLUDES[@]}"; do
126126
fi
127127
fi
128128

129-
# テンプレート側に対象が存在しない場合はスキップ
130-
if [ ! -e "$TEMPLATE_ROOT/$p" ]; then
131-
echo "SKIP: $p(テンプレートに存在しません)"
132-
continue
133-
fi
134-
135129
rsync "${RSYNC_FLAGS[@]}" "${EXTRA_FLAGS[@]}" "${EXCLUDE_FLAGS[@]}" \
136130
-- "$TEMPLATE_ROOT/$p" "$TARGET_DIR/$p"
137131
done

0 commit comments

Comments
 (0)