Skip to content

Commit dccf4d3

Browse files
committed
fix: sonar lint issues
1 parent 0c545a5 commit dccf4d3

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/extensions/default/HTMLCodeHints/html-lint.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ define(function (require, exports, module) {
3131
AppInit = brackets.getModule("utils/AppInit"),
3232
Strings = brackets.getModule("strings"),
3333
StringUtils = brackets.getModule("utils/StringUtils"),
34-
FileSystemError = brackets.getModule("filesystem/FileSystemError"),
35-
DocumentManager = brackets.getModule("document/DocumentManager"),
3634
EditorManager = brackets.getModule("editor/EditorManager"),
3735
ProjectManager = brackets.getModule("project/ProjectManager"),
3836
PreferencesManager = brackets.getModule("preferences/PreferencesManager"),
@@ -169,7 +167,7 @@ define(function (require, exports, module) {
169167
configErrorMessage = null;
170168
const scanningProjectPath = ProjectManager.getProjectRoot().fullPath;
171169
configID++;
172-
_readConfig(scanningProjectPath, CONFIG_FILE_NAME).then((config)=>{
170+
_readConfig(scanningProjectPath).then((config)=>{
173171
configID++;
174172
if(scanningProjectPath !== ProjectManager.getProjectRoot().fullPath){
175173
// this is a rare race condition where the user switches project between the get document call.

0 commit comments

Comments
 (0)