Quellcode durchsuchen

Fixes #3420 Build failed due to wrap change in moment.

Jean-Francois Larouche vor 9 Jahren
Ursprung
Commit
4afc128fab
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      tasks/locale.js

+ 1 - 1
tasks/locale.js

@@ -183,7 +183,7 @@ function extractMomentLocaleJS(js) {
 
 	// remove the UMD wrap
 	js = js.replace(
-		/\(\s*function[\S\s]*?function\s*\(\s*moment\s*\)\s*\{([\S\s]*)\}\)\);?/,
+		/\(\s*function[\S\s]*?function\s*\(\s*moment\s*\)\s*\{([\S\s]*)\}\)\)\);?/,
 		function(m0, body) {
 			return body;
 		}