Skip to content

Commit

Permalink
Fix linter issues
Browse files Browse the repository at this point in the history
  • Loading branch information
nikele2001 committed Jan 21, 2024
1 parent a89dbee commit 5632679
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions src/scenes/generateExistingProjectsScene.ts
Original file line number Diff line number Diff line change
@@ -1,24 +1,15 @@
import createDebug from 'debug';
import { Markup } from 'telegraf';

import { getProjectsFromDb, loadProjectFromDb } from '../db/functions';
import { getProjectsFromDb } from '../db/functions';

Check warning on line 4 in src/scenes/generateExistingProjectsScene.ts

View check run for this annotation

Codecov / codecov/patch

src/scenes/generateExistingProjectsScene.ts#L4

Added line #L4 was not covered by tests
import { BotContext, updateSessionDataBetweenScenes } from '../BotContext';
import {
getMapFromSession,
getResponse,
getUserId,
storeProjectInSession,
storeMapInSession,
} from '../util/botContext';
import { isBackCommand } from '../util/userInput';
import { getUserId, storeMapInSession } from '../util/botContext';

Check warning on line 6 in src/scenes/generateExistingProjectsScene.ts

View check run for this annotation

Codecov / codecov/patch

src/scenes/generateExistingProjectsScene.ts#L6

Added line #L6 was not covered by tests
import {
goNextStep,
goToScene,
handleProjectChoiceFactory,

Check warning on line 9 in src/scenes/generateExistingProjectsScene.ts

View check run for this annotation

Codecov / codecov/patch

src/scenes/generateExistingProjectsScene.ts#L9

Added line #L9 was not covered by tests
makeSceneWithErrorHandling,
waitForUserResponse,
} from '../util/scene';
import { InvalidTextError } from '../exceptions';

const debug = createDebug('bot:existing_projects_command');
const previousMenu = 'mainMenu';
Expand Down

0 comments on commit 5632679

Please sign in to comment.