Fix backtests and indicators
This commit is contained in:
@@ -723,13 +723,13 @@ fi
|
||||
SCRIPT_SIZE=$(wc -l < "$MIGRATION_SCRIPT")
|
||||
echo "📄 Migration script contains $SCRIPT_SIZE lines"
|
||||
|
||||
# Show first 20 lines as preview
|
||||
# Show last 20 lines as preview
|
||||
echo ""
|
||||
echo "📋 PREVIEW (first 20 lines):"
|
||||
echo "📋 PREVIEW (last 20 lines):"
|
||||
echo "----------------------------------------"
|
||||
head -20 "$MIGRATION_SCRIPT" | sed 's/^/ /'
|
||||
tail -20 "$MIGRATION_SCRIPT" | sed 's/^/ /'
|
||||
if [ "$SCRIPT_SIZE" -gt 20 ]; then
|
||||
echo " ... (showing first 20 lines of $SCRIPT_SIZE total)"
|
||||
echo " ... (showing last 20 lines of $SCRIPT_SIZE total)"
|
||||
fi
|
||||
echo "----------------------------------------"
|
||||
echo ""
|
||||
|
||||
Reference in New Issue
Block a user