Skip to content

Commit d5e8c15

Browse files
committed
fix: add telemetry to dedicated scripts within container-logger
1 parent 7833966 commit d5e8c15

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

lib/addNewMask.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// ↓ Should be imported first
2+
require('@codefresh-io/cf-telemetry/init');
3+
// ↓ Keep one blank line below to prevent automatic import reordering
4+
15
const { getServerAddress } = require('./helpers');
26

37
const exitCodes = {

lib/isReady.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// ↓ Should be imported first
2+
require('@codefresh-io/cf-telemetry/init');
3+
// ↓ Keep one blank line below to prevent automatic import reordering
4+
15
const { readFileSync } = require('fs');
26
const _ = require('lodash');
37
const { ContainerHandlingStatus } = require('./enums');

lib/waitUntilFinish.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// ↓ Should be imported first
2+
require('@codefresh-io/cf-telemetry/init');
3+
// ↓ Keep one blank line below to prevent automatic import reordering
4+
15
const fs = require('fs');
26
const path = require('path');
37
const Q = require('q');

0 commit comments

Comments
 (0)