Skip to content

Commit 28b2657

Browse files
committed
Fix
Task #92 - Incorrect examples in the default LSP Server configuration.
1 parent a50708e commit 28b2657

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/java/org/netbeans/modules/python/log/PythonLspLog.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@
2323
@Messages("CTL_PythonLspLog=Python Lsp Log")
2424
public final class PythonLspLog implements ActionListener {
2525

26+
static final File f = PythonUtility.PYLSP_VENV_DIR.toPath().resolve("lsp_log_file").toFile();
27+
2628
@Override
2729
public void actionPerformed(ActionEvent e) {
2830

29-
File f = PythonUtility.PYLSP_VENV_DIR.toPath().resolve("lsp_log_file").toFile();
30-
3131
if (!f.exists()) {
3232
return;
3333
}

0 commit comments

Comments
 (0)