Skip to content

fix: avoid unused variable error in template when lakebase is disabled#165

Merged
calvarjorge merged 1 commit intomainfrom
jorge.calvar/fix_template_bug
Mar 9, 2026
Merged

fix: avoid unused variable error in template when lakebase is disabled#165
calvarjorge merged 1 commit intomainfrom
jorge.calvar/fix_template_bug

Conversation

@calvarjorge
Copy link
Copy Markdown
Contributor

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.

image

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>
@calvarjorge calvarjorge requested a review from pkosiec March 9, 2026 09:03
@calvarjorge calvarjorge merged commit 93e9de5 into main Mar 9, 2026
6 checks passed
@calvarjorge calvarjorge deleted the jorge.calvar/fix_template_bug branch March 9, 2026 09:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants