Skip to content

Commit

Permalink
avoid triggering probe typing when outside kubejs/xxx_script folder
Browse files Browse the repository at this point in the history
  • Loading branch information
ZZZank committed Mar 31, 2024
1 parent 2292d51 commit 7e58da2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/probejs/compiler/TypingCompiler.java
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ public static void compileJSConfig() throws IOException {
"{",
" 'compilerOptions': {",
" 'lib': ['ES5', 'ES2015'],",
" 'typeRoots': ['./probe/generated', './probe/user']",
" 'rootDirs': ['probe/generated', 'probe/user', 'server_scripts', 'startup_scripts', 'client_scripts'],",
" }",
"}"
)
Expand Down

0 comments on commit 7e58da2

Please sign in to comment.