Cscott has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/58912


Change subject: Fix the "bad domino" test to work with 1.0.10.
......................................................................

Fix the "bad domino" test to work with 1.0.10.

Change-Id: I7c211860f8180b78b7a0e45cf4590f4f245a1fc7
---
M js/lib/domino.js
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Parsoid 
refs/changes/12/58912/1

diff --git a/js/lib/domino.js b/js/lib/domino.js
index 26bd218..d47b8f9 100644
--- a/js/lib/domino.js
+++ b/js/lib/domino.js
@@ -2,7 +2,7 @@
 var domino = require('domino');
 // double-check that domino is up-to-date
 var pjson = require('domino/package.json');
-if (/1.0.[0-8]/.test(pjson.version)) {
+if (/^1.0.[0-8]$/.test(pjson.version)) {
     throw new Error("Your domino library is out-of-date.  Please update it.");
 }
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I7c211860f8180b78b7a0e45cf4590f4f245a1fc7
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Parsoid
Gerrit-Branch: master
Gerrit-Owner: Cscott <wikime...@cscott.net>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to