Skip to content

Commit

Permalink
chore: refactor toRegExp
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason3S committed Dec 22, 2024
1 parent e12e89e commit 618cb48
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/client/src/applyCorrections.mts
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import { commands, Location, TextEdit, window, workspace, WorkspaceEdit } from '

import type { Converter, TextEdit as LsTextEdit } from './client/vscode-languageclient.js';
import * as di from './di.mjs';
import { toRegExp } from './extensionRegEx/evaluateRegExp.js';
import * as Settings from './settings/index.mjs';
import { logErrors, showErrors } from './util/errors.js';
import { toRegExp } from './util/toRegExp.js';
import { pvShowErrorMessage, pvShowInformationMessage } from './util/vscodeHelpers.js';
import { findEditor, findTextDocument } from './vscode/findEditor.js';

Expand Down
2 changes: 1 addition & 1 deletion packages/client/src/extensionRegEx/extensionRegEx.mts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import * as vscode from 'vscode';
import type { CSpellClient } from '../client/index.mjs';
import { extensionId } from '../constants.js';
import { catchErrors, isError, logError, logErrors, showError } from '../util/errors.js';
import { toRegExp } from './evaluateRegExp.js';
import { toRegExp } from '../util/toRegExp.js';
import { PatternMatcherClient } from './patternMatcherClient.mjs';
import type { RegexpOutlineItem } from './RegexpOutlineProvider.mjs';
import { RegexpOutlineProvider } from './RegexpOutlineProvider.mjs';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { describe, expect, test } from 'vitest';

import { isRegExp, toRegExp } from './evaluateRegExp.js';
import { isRegExp, toRegExp } from './toRegExp.js';

describe('EvaluateRegExp', () => {
test('isRegExp', () => {
Expand Down
File renamed without changes.

0 comments on commit 618cb48

Please sign in to comment.