Skip to content

Commit b962c77

Browse files
print workflow id + helper renamed (#316)
1 parent a958fdb commit b962c77

File tree

13 files changed

+26
-16
lines changed

13 files changed

+26
-16
lines changed

lib/interface/cli/commands/helm/chart/helm-charts.sdk.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ installCmd = installCmd.toCommand();
88
promoteCmd = promoteCmd.toCommand();
99

1010
jest.mock('../../../helpers/helm');
11-
jest.mock('../../../helpers/workflow');
11+
jest.mock('../../../helpers/logs');
1212
jest.spyOn(process, 'exit').mockImplementation();
1313

1414
const request = require('requestretry');

lib/interface/cli/commands/helm/chart/install-chart.cmd.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const Command = require('../../../Command');
2-
const { followLogs } = require('../../../helpers/workflow');
2+
const { followLogs } = require('../../../helpers/logs');
33
const { sdk } = require('../../../../../logic');
44
const { normalizeValues, normalizeSetValues } = require('../../../helpers/helm');
55
const Output = require('../../../../../output/Output');

lib/interface/cli/commands/helm/chart/promote-chart.cmd.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const Command = require('../../../Command');
2-
const { followLogs } = require('../../../helpers/workflow');
2+
const { followLogs } = require('../../../helpers/logs');
33
const { sdk } = require('../../../../../logic');
44
const { normalizeValues, normalizeSetValues } = require('../../../helpers/helm');
55
const Output = require('../../../../../output/Output');

lib/interface/cli/commands/helm/release/delete-release.cmd.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
const Command = require('../../../Command');
22
const { sdk } = require('../../../../../logic');
3-
const { followLogs } = require('../../../helpers/workflow');
3+
const { followLogs } = require('../../../helpers/logs');
44
const Output = require('../../../../../output/Output');
55

66
const install = new Command({

lib/interface/cli/commands/helm/release/helm-releases.sdk.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ deleteCmd = deleteCmd.toCommand();
88
testCmd = testCmd.toCommand();
99

1010
jest.mock('../../../helpers/helm');
11-
jest.mock('../../../helpers/workflow');
11+
jest.mock('../../../helpers/logs');
1212
jest.spyOn(process, 'exit').mockImplementation();
1313

1414
const request = require('requestretry');

lib/interface/cli/commands/helm/release/test-release.cmd.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const Command = require('../../../Command');
2-
const { followLogs } = require('../../../helpers/workflow');
2+
const { followLogs } = require('../../../helpers/logs');
33
const { sdk } = require('../../../../../logic');
44
const Output = require('../../../../../output/Output');
55

lib/interface/cli/commands/pipeline/run.cf.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
const RunBaseCommand = require('./run.base');
22
const { sdk } = require('../../../../logic');
3-
const { followLogs } = require('../../helpers/workflow');
3+
const { followLogs } = require('../../helpers/logs');
44

55
function _buildBody(data) {
66
const body = {

lib/interface/cli/commands/pipeline/run.local.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const path = require('path');
55
const DEFAULTS = require('../../defaults');
66
const _ = require('lodash');
77
const { sdk } = require('../../../../logic');
8-
const { followLogs } = require('../../helpers/workflow');
8+
const { followLogs } = require('../../helpers/logs');
99
const chalk = require('chalk');
1010

1111
const regex = /##[0-9a-f]{24}##/i;

lib/interface/cli/commands/workflow/restart.cmd.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const Command = require('../../Command');
2-
const { followLogs } = require('../../helpers/workflow');
2+
const { followLogs } = require('../../helpers/logs');
33
const { sdk } = require('../../../../logic');
44

55
const restart = new Command({

lib/interface/cli/commands/workflow/workflow.sdk.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jest.mock('../../../../logic/entities/Workflow', () => {
2121
fromResponse: res => res,
2222
};
2323
});
24-
jest.mock('../../helpers/workflow');
24+
jest.mock('../../helpers/logs');
2525

2626
const request = require('requestretry');
2727

0 commit comments

Comments
 (0)