Skip to content

Commit 4618ec6

Browse files
allaudettalyssonoc
authored andcommitted
Fix indent and no-console linting errors (#22)
1 parent 58d947b commit 4618ec6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cluster.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* eslint-disable no-console */
12
const pm2 = require('pm2');
23

34
const instances = process.env.WEB_CONCURRENCY || -1;
@@ -23,7 +24,7 @@ pm2.connect(() => {
2324
console.log('[PM2] Log streaming started');
2425

2526
bus.on('log:out', (packet) => {
26-
console.log('[App:%s] %s', packet.process.name, packet.data);
27+
console.log('[App:%s] %s', packet.process.name, packet.data);
2728
});
2829

2930
bus.on('log:err', (packet) => {
@@ -32,4 +33,3 @@ pm2.connect(() => {
3233
});
3334
});
3435
});
35-

0 commit comments

Comments
 (0)