From 58ce0927b8a59792a1087711482d25db295345b9 Mon Sep 17 00:00:00 2001 From: Egor Kuzmichev Date: Thu, 28 Dec 2023 19:20:30 +0100 Subject: [PATCH] Rename upperDir -> currentDir --- Gruntfile.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index 52172dec..bfeae75e 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -11,8 +11,8 @@ module.exports = function (grunt) { const path = require('path'); const Utils = require('./commons/Utils'); const env = grunt.option('env') || 'production'; // Например, --env testing - const upperDir = path.normalize(path.resolve('./') + '/'); - const targetDir = path.normalize(upperDir + 'appBuild/'); + const currentDir = path.normalize(path.resolve('./') + '/'); + const targetDir = path.normalize(currentDir + 'appBuild/'); const babelConfig = require('./babel/server.config'); const hash = Utils.randomString(5); @@ -221,7 +221,7 @@ module.exports = function (grunt) { compress: { main: { options: { - archive: upperDir + 'app<%= pkg.version %>.zip', + archive: currentDir + 'app<%= pkg.version %>.zip', mode: 'zip', level: 9, forceUTC: true,