Commit 0dd7908
committed
refactor(linter): fix dead code warnings when compiling
`MessageCloner` (introduced in #13032) is only used when `language_server` feature is enabled, or in tests. Feature-gate this code, to avoid "dead code" warnings when compiling `napi/oxlint2`.napi/oxlint2 (#13132)1 parent f0a517f commit 0dd7908
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
| 187 | + | |
187 | 188 | | |
188 | 189 | | |
189 | 190 | | |
| |||
237 | 238 | | |
238 | 239 | | |
239 | 240 | | |
| 241 | + | |
240 | 242 | | |
241 | 243 | | |
242 | 244 | | |
| |||
0 commit comments