Skip to content

Commit

Permalink
fix config version checking
Browse files Browse the repository at this point in the history
  • Loading branch information
edulix committed Sep 1, 2021
1 parent 2ee0359 commit bf2b519
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ module.exports = function (grunt) {
grunt.log.error('No avConfig.js file found');
done(false);
} else {
var match = data.toString().match(/AV_CONFIG_VERSION = [\'\"]([\w\.]*)[\'\"];/);
var match = data.toString().match(/AV_CONFIG_VERSION = [\'\"](.*)[\'\"];/);
if (!match) {
grunt.log.error('Invalid avConfig.js version');
} else {
Expand Down

0 comments on commit bf2b519

Please sign in to comment.