Skip to content

Commit 385727f

Browse files
Remove sleep
1 parent 275f9d5 commit 385727f

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

libs/vscode/server/src/lib/events/custom-events/on-format-workspace.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { IDL_LSP_LOG } from '@idl/logger';
2-
import { IDL_JSON_URI, IDL_NOTEBOOK_EXTENSION, Sleep } from '@idl/shared';
2+
import { IDL_JSON_URI, IDL_NOTEBOOK_EXTENSION } from '@idl/shared';
33
import { IDL_TRANSLATION } from '@idl/translation';
44
import {
55
FormatWorkspacePayload,
@@ -108,8 +108,6 @@ export const ON_FORMAT_WORKSPACE = async (
108108
} else {
109109
await writeFile(info.fsPath, formatted, 'utf-8');
110110
}
111-
112-
await Sleep(1000);
113111
} catch (err) {
114112
IDL_LANGUAGE_SERVER_LOGGER.log({
115113
log: IDL_LSP_LOG,

0 commit comments

Comments
 (0)