Commit 7c3860a0a67ade196cf21b388a5e98e102344d1f

Authored by Adhidarma Hadiwinoto
1 parent 352496124f
Exists in master and in 1 other branch dev

MATRIX: perbaikan process.cwd

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

lib/apiserver/routers/matrix.js
... ... @@ -12,7 +12,7 @@ const pageIndex = (req, res) => {
12 12 matrix.start_time_from_now = moment(matrix.start_time).fromNow();
13 13 matrix.uptime_secs = process.uptime();
14 14 matrix.loadavg = os.loadavg();
15   - matrix.workdir = process.cwd;
  15 + matrix.workdir = process.cwd();
16 16 matrix.memory_usage = process.memoryUsage();
17 17  
18 18 res.json(matrix);