Skip to content

Commit d2f9ab9

Browse files
committed
Refactored code
1 parent 841d522 commit d2f9ab9

File tree

5 files changed

+3
-4
lines changed

5 files changed

+3
-4
lines changed

src/checkboxStatus.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import * as vscode from 'vscode';
21
import { Disposable, StatusBarAlignment, StatusBarItem, window, workspace } from 'vscode';
32
import * as helpers from './helpers';
43

src/commands/quickPick.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as vscode from 'vscode';
2-
import Checkbox from '../checkbox';
2+
import Checkbox from '../models/checkbox';
33
import { getAllCheckboxes, getEditor } from '../helpers';
44
import { toggleCheckboxOfLine } from '../toggleCheckbox';
55

src/helpers.ts src/helpers/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import * as vscode from 'vscode';
22
import { Position, TextEditor, TextLine } from 'vscode';
3-
import Checkbox from './checkbox';
3+
import Checkbox from '../models/checkbox';
44

55
/** Get the current cursor position */
66
export const getCursorPosition = (): Position => {
File renamed without changes.

src/test/helpers.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import * as assert from 'assert';
22
import * as vscode from 'vscode';
3-
import Checkbox from '../checkbox';
3+
import Checkbox from '../models/checkbox';
44
import * as helpers from '../helpers';
55

66
suite('helpers', () => {

0 commit comments

Comments
 (0)