Skip to content

Commit

Permalink
ci(lint): auto-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Apr 30, 2024
1 parent b3e82d0 commit 9c07dfe
Show file tree
Hide file tree
Showing 3 changed files with 3,268 additions and 2,679 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ export function register(context: ServiceContext) {
const tokens = await languageFeatureWorker(
context,
uri,
() => range!,
() => range,
function* (map) {
const mapped = findOverlapCodeRange(
map.sourceDocument.offsetAt(range!.start),
map.sourceDocument.offsetAt(range!.end),
map.sourceDocument.offsetAt(range.start),
map.sourceDocument.offsetAt(range.end),
map.map,
isSemanticTokensEnabled,
);
Expand Down
6 changes: 3 additions & 3 deletions packages/typescript/lib/protocol/createSys.ts
Original file line number Diff line number Diff line change
Expand Up @@ -292,9 +292,9 @@ export function createSys(
result.then(result => {
promises.delete(promise);
if (result !== undefined) {
file!.text = result;
if (file!.stat) {
file!.stat.mtime++;
file.text = result;
if (file.stat) {
file.stat.mtime++;
}
version++;
}
Expand Down

0 comments on commit 9c07dfe

Please sign in to comment.