Skip to content

Commit 1d533a6

Browse files
committed
linting correction
1 parent 5ce10e3 commit 1d533a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

language-server/src/util/util.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { join, relative } from "node:path";
55
import { URI } from "vscode-uri";
66
import detectIndent from "detect-indent";
77
import * as jsoncParser from "jsonc-parser";
8-
import os from "os"
8+
import os from "os";
99

1010
/**
1111
* @import { TextEdit } from "vscode-languageserver"
@@ -126,7 +126,7 @@ export const withFormatting = (textDocument, textEdit, settings) => {
126126
insertSpaces: indentation.type === "space",
127127
tabSize: indentation.amount,
128128
keepLines: true,
129-
eol: settings.endOfLine=='auto' ? os.EOL : settings.endOfLine
129+
eol: settings.endOfLine == "auto" ? os.EOL : settings.endOfLine
130130
};
131131

132132
const offset = textDocument.offsetAt(textEdit.range.start);

0 commit comments

Comments
 (0)