Skip to content

Commit

Permalink
remove echos
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlosCoelhoSL committed Feb 7, 2025
1 parent a774c72 commit 1e20f08
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions task/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,11 @@ else
NEW_RESOURCES=True; \
fi

echo $STATE_CHANGED
echo "$STATE_CHANGED"
echo $NEW_RESOURCES
echo "$NEW_RESOURCES"
# Exit if both STATE_CHANGED=False and NEW_RESOURCES=False
if [ "$STATE_CHANGED" = "False" ] && [ "$NEW_RESOURCES" = "False" ]; then \
echo "No state change and no new resources. Exiting early."; \
echo "Incremental loading enabled. Saving log.csv and resource.csv to $COLLECTION_DATASET_BUCKET_NAME."
make save-collection-log-resource
echo "No state change and no new resources. Stopping processing."; \
exit 0; \
fi

Expand Down

0 comments on commit 1e20f08

Please sign in to comment.