Skip to content

Commit

Permalink
Fix notebook showing up in template when not selected (#743)
Browse files Browse the repository at this point in the history
## 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.
  • Loading branch information
lennartkats-db authored Sep 7, 2023
1 parent 3c79181 commit 50b2c0b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)}}
Expand Down

0 comments on commit 50b2c0b

Please sign in to comment.