From 49036df661c99e2b0e0503586d5f62208b1072f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Knut=20Hu=CC=88hne?= Date: Wed, 17 Apr 2024 20:28:42 +0200 Subject: [PATCH] Remove `| uniq` when getting scrapers There should only ever be unique results based on the filenames and this was leading to 1 exit codes --- test_changes.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test_changes.sh b/test_changes.sh index cc23ebf..0e1f673 100755 --- a/test_changes.sh +++ b/test_changes.sh @@ -16,8 +16,7 @@ CHANGED_SCRAPERS=$(git whatchanged --name-only --pretty="" origin/master..${HEAD grep -v helper | sed 's/jedeschule\/spiders\///' | sed 's/\.py//' | - sed 's/_/\-/' | - uniq) + sed 's/_/\-/') for SPIDER in $CHANGED_SCRAPERS do