jenkins-bot has submitted this change and it was merged.

Change subject: Fix file name in validatehtml.sh
......................................................................


Fix file name in validatehtml.sh

Change-Id: I9075db87423137de01ef2c20a124371baf3c12d0
---
M scripts/validatehtml.sh
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Jdlrobson: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/scripts/validatehtml.sh b/scripts/validatehtml.sh
index 7d941c4..a8d63e6 100755
--- a/scripts/validatehtml.sh
+++ b/scripts/validatehtml.sh
@@ -6,7 +6,7 @@
 curl -sF "uploaded_file=@tmp/validate.html;type=text/html" -F output=json 
http://validator.w3.org/check > tmp/validate.json
 
 #check the validation results of a page in the main namespace
-if grep -q '"type": "error"' tmp/validate_page.json
+if grep -q '"type": "error"' tmp/validate.json
 then
        num=`grep -c '"type": "error"' tmp/validate.json`
        echo $num validation errors found in main namespace page [see 
tmp/validate.json]

-- 
To view, visit https://gerrit.wikimedia.org/r/87634
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I9075db87423137de01ef2c20a124371baf3c12d0
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: JGonera <[email protected]>
Gerrit-Reviewer: Jdlrobson <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to