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

Unified Diff: edit.sh

Issue 29768621: #10639 - node-sass output filter (Closed)
Patch Set: #10639 - node-sass output filter Created June 12, 2018, 2:56 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: edit.sh
diff --git a/edit.sh b/edit.sh
new file mode 100755
index 0000000000000000000000000000000000000000..664f77e96ad62f8ea1de27aad430dbc17900ab4e
--- /dev/null
+++ b/edit.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+# Filter out uninformative output lines from the node-sass cron job script
+
+while read line; do
+ case "$line" in
+ *Rendering?Complete,?saving*file*|*Wrote?CSS?to?*)
mathias 2018/06/19 12:59:48 As discussed: Please remove the leading asterisks
+ continue
mathias 2018/06/19 12:59:48 Note: the `continue` instruction is not exactly ne
+ ;;
+ *)
+ echo "$line"
+ ;;
+ esac
+done
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld