File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed
org.eclipse.wildwebdeveloper/src/org/eclipse/wildwebdeveloper/eslint Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change 99 *******************************************************************************/
1010package org .eclipse .wildwebdeveloper .eslint ;
1111
12- import java .io .File ;
1312import java .io .IOException ;
1413import java .net .URL ;
1514import java .util .ArrayList ;
@@ -30,11 +29,8 @@ public ESLintLanguageServer() {
3029 //commands.add("--inspect-brk"); // for local debug
3130 try {
3231 URL url = FileLocator .toFileURL (getClass ().getResource ("/node_modules/eslint-server/out/eslintServer.js" ));
33- File nodeModules = new File (url .getPath ()).getParentFile ().getParentFile ().getParentFile ();
3432 commands .add (new java .io .File (url .getPath ()).getAbsolutePath ());
3533 // commands.add("/home/mistria/git/vscode-eslint/server/out/eslintServer.js"); // to use and debug against local sources
36- commands .add ("--tsProbeLocations" );
37- commands .add (new File (nodeModules , "typescript" ).getAbsolutePath ());
3834 commands .add ("--stdio" );
3935 setCommands (commands );
4036 setWorkingDirectory (System .getProperty ("user.dir" ));
You can’t perform that action at this time.
0 commit comments