Evan You 10 лет назад
Родитель
Сommit
df71954c15
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      build/grunt-tasks/release.js

+ 2 - 2
build/grunt-tasks/release.js

@@ -56,10 +56,10 @@ module.exports = function (grunt) {
     var next = semver.inc(current, version || 'patch') || version
 
     if (!semver.valid(next)) {
-      return grunt.fail.warn('Invalid version.')
+      grunt.fail.warn('Invalid version.')
     }
     if (semver.lt(next, current)) {
-      return grunt.fail.warn('Version is older than current.')
+      grunt.fail.warn('Version is older than current.')
     }
 
     readline.createInterface({