Commits

Vyatcheslav Zaytcev  committed 7247db2

changed widget filename pattern

  • Participants
  • Parent commits c510a26

Comments (0)

Files changed (1)

File tasks/samsung-widgetlist.js

 	var path = require('path'),
 		fs = require('fs'),
 		builder = require('xmlbuilder'),
-		fileInfoExp = /^([a-z0-9]+)_([0-9\.]+)_([0-9]{8})$/i;
+		fileInfoExp = /^([a-z0-9]+)_([0-9\.]+)_([0-9a-z]+)_([0-9]{8})$/i;
 
 	// ==========================================================================
 	// TASKS
 			var baseName = path.basename(file, '.zip');
 			grunt.verbose.write('Found file ' + file.green + ' ');
 			if (!fileInfoExp.test(baseName)) {
-				grunt.verbose.writeln('skipping'.red + ' as not suitable file name format');
+				grunt.log.writeln('skipping'.red + ' as not suitable file name format');
 				return;
 			}
 			grunt.verbose.writeln('');