Skip to content

Commit 185634a

Browse files
committed
removing stuff
1 parent 2e52de9 commit 185634a

4 files changed

Lines changed: 1 addition & 44 deletions

File tree

src/commands/settings/index.js

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ import { runBranchesAll, runBranchesDefault, runBranchesUpdateDefault } from './
44
import { runFeatureFlagsGet, runFeatureFlagsUpdate } from './feature-flags.js';
55
import { runAnalysisFeatureFlagsGet, runAnalysisFeatureFlagsUpdate } from './analysis-feature-flags.js';
66
import { runPrInstructionsGet, runPrInstructionsSave, runPrInstructionsEdit, runPrInstructionsDelete } from './pr-instructions.js';
7-
import { runSlackChannels, runSlackChannelGet } from './slack.js';
8-
import { runTeamsChannels, runTeamsChannelGet } from './teams.js';
97
import { runRecurringScanslist, runRecurringScansCreate, runRecurringScansUpdate } from './recurring-scans.js';
108
import { runSprintReportsList, runSprintReportsCreate, runSprintReportsUpdate } from './sprint-reports.js';
119
import { runCveReportingList, runCveReportingCreate, runCveReportingUpdate } from './cve-reporting.js';
@@ -163,30 +161,6 @@ export default function registerSettingsCommands(program, { runCmd }) {
163161
instructionId: opts.instructionId,
164162
})));
165163

166-
// ── slack channels ─────────────────────────────────────────────────────────
167-
settings
168-
.command('slack-channels')
169-
.description('List all available Slack channels')
170-
.action(() => runCmd(() => runSlackChannels()));
171-
172-
// ── slack channel get ──────────────────────────────────────────────────────
173-
settings
174-
.command('slack-channel-get')
175-
.description('Get saved Slack channel configuration')
176-
.action(() => runCmd(() => runSlackChannelGet()));
177-
178-
// ── teams channels ─────────────────────────────────────────────────────────
179-
settings
180-
.command('teams-channels')
181-
.description('List all available Microsoft Teams channels')
182-
.action(() => runCmd(() => runTeamsChannels()));
183-
184-
// ── teams channel get ──────────────────────────────────────────────────────
185-
settings
186-
.command('teams-channel-get')
187-
.description('Get saved Microsoft Teams channel configuration')
188-
.action(() => runCmd(() => runTeamsChannelGet()));
189-
190164
// ── recurring-scans list ───────────────────────────────────────────────────
191165
settings
192166
.command('recurring-scans-list')

src/commands/settings/slack.js

Lines changed: 0 additions & 9 deletions
This file was deleted.

src/commands/settings/teams.js

Lines changed: 0 additions & 9 deletions
This file was deleted.

src/utils/fetchApi.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ const fetchApi = async (endpoint, method = 'GET', body = null) => {
2323

2424
try {
2525
const response = await fetch(url, options);
26+
console.error('API Response Status:', response.status);
2627

2728
if (response.status === 403) {
2829
throw new Error('Access denied (403). Please run `codeant logout` and then `codeant login` to re-authenticate.');

0 commit comments

Comments
 (0)