Commit 2209419d0ef40c191660c9dfef5d7e9ee7ce7062

Authored by Adhidarma Hadiwinoto
1 parent 94be88f9ff
Exists in master

Write pid.txt as a string (node14 comply)

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

1   -"use strict";
2   -
3 1 process.chdir(__dirname);
4 2 const fs = require('fs');
5   -fs.writeFileSync('pid.txt', process.pid);
  3 +
  4 +fs.writeFileSync('pid.txt', `${process.pid}`);
6 5  
7 6 global.KOMODO_LOG_LABEL = 'KOMODO-MESSAGING';
8 7 process.title = global.KOMODO_LOG_LABEL;