Kaynağa Gözat

Мелкий рефакторинг

Book Pauk 6 yıl önce
ebeveyn
işleme
e949b150ef
1 değiştirilmiş dosya ile 2 ekleme ve 1 silme
  1. 2 1
      server/config/base.js

+ 2 - 1
server/config/base.js

@@ -1,5 +1,6 @@
+const path = require('path');
 const pckg = require('../../package.json');
 const pckg = require('../../package.json');
-const execPath = __dirname + '/..';
+const execPath = path.resolve(__dirname + '/..');
 
 
 module.exports = {
 module.exports = {
     branch: 'base',
     branch: 'base',