Skip to content

Commit

Permalink
Rename upperDir -> currentDir
Browse files Browse the repository at this point in the history
  • Loading branch information
aeifn committed Dec 28, 2023
1 parent d693a2a commit 58ce092
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 58ce092

Please sign in to comment.