Skip to content
This repository has been archived by the owner on May 2, 2024. It is now read-only.

Commit

Permalink
[수정] 명령어 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
x-0o0 committed Jan 3, 2024
1 parent f1f367f commit a08c1fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/scripts/GUARD_COMMITS.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ TARGET_FILES=("swift-cinema/Sources/CinemaUI/MovieList.swift" "swift-cinema/Sour
COMMIT_COUNT=$(git rev-list --count HEAD)

if [ $COMMIT_COUNT -gt 1 ]; then
CHANGED_FILES=$(git diff --name-only -W --root main)
CHANGED_FILES=$(git diff --name-only -W main HEAD)

for TARGET_FILE in "${TARGET_FILES[@]}"; do
if [[ $CHANGED_FILES == *"$TARGET_FILE"* ]]; then
Expand Down

0 comments on commit a08c1fa

Please sign in to comment.