Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Delta Between Two Patch Sets: edit.sh

Issue 29768621: #10639 - node-sass output filter (Closed)
Left Patch Set: Created May 2, 2018, 12:48 p.m.
Right Patch Set: #10639 - node-sass output filter Created June 20, 2018, 12:34 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « no previous file | no next file » | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 #!/bin/bash 1 #!/bin/sh
2 2
3 IFS=$'\n' lines=($(cat /dev/stdin)) 3 # Filter out uninformative output lines from the node-sass cron job script
4 4
5 for (( i=0; i < ${#lines[*]}; i++ )) 5 while read line; do
6 do 6 case "$line" in
7 if [[ ${lines[$i]} != *"Rendering"* ]] && [[ ${lines[$i]} != *"Wrote"* ]] ; th en 7 Rendering\ Complete,\ saving*file*|Wrote\ CSS\ to*)
8 echo ${lines[$i]} 8 ;;
9 fi 9 *)
10 echo "$line"
11 ;;
12 esac
10 done 13 done
LEFTRIGHT
« no previous file | no next file » | Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Toggle Comments ('s')

Powered by Google App Engine
This is Rietveld