Skip to content

Commit 7114b57

Browse files
committed
fix ts/lint issues
1 parent 399b533 commit 7114b57

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

extensions/css-language-features/server/src/utils/documentContext.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,8 @@ import { DocumentContext } from 'vscode-css-languageservice';
77
import { endsWith, startsWith } from '../utils/strings';
88
import * as url from 'url';
99
import { WorkspaceFolder } from 'vscode-languageserver';
10-
import URI from 'vscode-uri';
11-
import { join, dirname } from 'path';
12-
import { existsSync } from 'fs';
13-
import resolve from 'requireresolveproxy';
10+
11+
const resolve = require('requireresolveproxy');
1412

1513
function getModuleNameFromPath(path: string) {
1614
// If a scoped module (starts with @) then get up until second instance of '/', otherwise get until first isntance of '/'

extensions/css-language-features/server/yarn.lock

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -678,6 +678,11 @@ require-main-filename@^2.0.0:
678678
resolved "https://registry.yarnpkg.com/require-main-filename/-/require-main-filename-2.0.0.tgz#d0b329ecc7cc0f61649f62215be69af54aa8989b"
679679
integrity sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==
680680

681+
682+
version "0.0.1"
683+
resolved "https://registry.yarnpkg.com/requireresolveproxy/-/requireresolveproxy-0.0.1.tgz#c65ba54a3557ae778025212a5572ddce779f9607"
684+
integrity sha512-0JGjCjOKyJJAMlWhLR+Kx6qW7+KjI7HZUipgZMQtHDg4n57r/pX17Dlke4+lwJzfkMM25I/eQ0+cHCfA5bFgPA==
685+
681686
semver@^5.5.0, semver@^5.7.0:
682687
version "5.7.0"
683688
resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.0.tgz#790a7cf6fea5459bac96110b29b60412dc8ff96b"

0 commit comments

Comments
 (0)