Commit 5c4d53a7 authored by Alexey.Golubev's avatar Alexey.Golubev Committed by Alexander.Trofimov

Исправлена ошибка сборки без свн.

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@64903 954022d7-b5bf-4e40-9824-e11837661b57
parent bac2db34
module.exports = function(grunt) {
var revision, defaultConfig, packageFile, toolsConfig, toolsFile;
var revision="unknown", defaultConfig, packageFile, toolsConfig, toolsFile;
grunt.loadNpmTasks('grunt-contrib-clean');
grunt.loadNpmTasks('grunt-contrib-concat');
......@@ -16,7 +16,9 @@ module.exports = function(grunt) {
cmd: 'svnversion',
args: ['../../../../../'],
}, function (error, result, code) {
revision = null !== error ? undefined : result;
if (null !== error) {
revision = result;
}
// All done, continue to the next tasks
done();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment