From 50b2c0b83bde8bd645c1165ec6b70acf06284151 Mon Sep 17 00:00:00 2001 From: "Lennart Kats (databricks)" Date: Thu, 7 Sep 2023 10:26:43 +0200 Subject: [PATCH] Fix notebook showing up in template when not selected (#743) ## Changes This fixes a typo that caused the notebook.ipynb file to show up even if the user answered "no" to the question about including a notebook. ## Tests We have matrix validation tests for all the yes/no combinations and whether the build + validate. There is no current test for the absence of files. --- libs/template/templates/default-python/template/__preamble.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/template/templates/default-python/template/__preamble.tmpl b/libs/template/templates/default-python/template/__preamble.tmpl index c018f282..95c61333 100644 --- a/libs/template/templates/default-python/template/__preamble.tmpl +++ b/libs/template/templates/default-python/template/__preamble.tmpl @@ -28,7 +28,7 @@ This file only template directives; it is skipped for the actual output. {{end}} {{if $notNotebook}} - {{skip "{{.project_name}}/src/notebook.iypnb"}} + {{skip "{{.project_name}}/src/notebook.ipynb"}} {{end}} {{if (and $notDLT $notNotebook $notPython)}}