Commit 93e9de5
authored
fix: avoid unused variable error in template when lakebase is disabled (#165)
When lakebase plugin is not enabled, the `.then(async (appkit) => {})`
block was empty, causing TS6133 "declared but never read" typecheck
failure. Conditionally emit the `.then()` block only when lakebase
is enabled.
Signed-off-by: Jorge Calvar <jorge.calvar@databricks.com>1 parent bf54836 commit 93e9de5
1 file changed
+6
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | | - | |
24 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
25 | 27 | | |
26 | | - | |
| 28 | + | |
0 commit comments