Skip to content

Commit 89a08ad

Browse files
committed
Always remove source license file in hook script
Perhaps a remnant from when we were performing a move operation.
1 parent 0a553fb commit 89a08ad

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

hooks/post_gen_project.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ def deploy_license() -> None:
2626
SELECTED_LICENSE_DESTINATION
2727
)
2828
copy(source_path, destination_path)
29-
elif license_option != SELECTED_LICENSE_SOURCE:
30-
sources.add(source_path)
29+
sources.add(source_path)
3130
for source in sources:
3231
source.unlink()
3332
LICENSE_DIR.rmdir()

0 commit comments

Comments
 (0)