summaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
authorRomain d'Alverny <rda@mageia.org>2012-09-12 19:58:45 +0000
committerRomain d'Alverny <rda@mageia.org>2012-09-12 19:58:45 +0000
commit424fd3b6de8b7bac61ee9301527dff9e2c6e8d19 (patch)
tree2c18623c4dc7df49767b5385d12b010055b0b293 /js
parent74e4fbb8a44a68b0d97d0d363cf4ea60b5346bbe (diff)
downloadpkgsubmit-424fd3b6de8b7bac61ee9301527dff9e2c6e8d19.tar
pkgsubmit-424fd3b6de8b7bac61ee9301527dff9e2c6e8d19.tar.gz
pkgsubmit-424fd3b6de8b7bac61ee9301527dff9e2c6e8d19.tar.bz2
pkgsubmit-424fd3b6de8b7bac61ee9301527dff9e2c6e8d19.tar.xz
pkgsubmit-424fd3b6de8b7bac61ee9301527dff9e2c6e8d19.zip
add missing_deps kw
Diffstat (limited to 'js')
-rw-r--r--js/pkgsubmit.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/js/pkgsubmit.js b/js/pkgsubmit.js
index 3bcfb46..b1381a0 100644
--- a/js/pkgsubmit.js
+++ b/js/pkgsubmit.js
@@ -65,7 +65,7 @@ function isShortFile(path) {
* @return string
*/
function highlight_text(text) {
- return text.replace(/.*(ok|succe|test|warn|info|deprecat|error|fail|non\-standard|abort).*/gi, function (match, p1, p2, offset, string) {
+ return text.replace(/.*(ok|succe|test|warn|info|deprecat|error|fail|non\-standard|abort|missing\_deps).*/gi, function (match, p1, p2, offset, string) {
var cl = 'none';
switch (p1.toLowerCase()) {
case 'succe':
@@ -87,6 +87,7 @@ function highlight_text(text) {
case 'error':
case 'fail':
case 'abort':
+ case 'missing_deps':
cl = 'error';
break;
}