Skip to content

Commit 2cd5193

Browse files
committed
Add tiny fix in init.py
1 parent 5ed8002 commit 2cd5193

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

init.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ def template(name, target, **kwargs):
5656
f.write(text)
5757
f.close()
5858

59-
print('Creating CMake files...')
6059
if name.strip():
60+
print('Creating CMake files...')
6161
template('cmake/template.txt', 'CMakeLists.txt', project_name=name)
6262
template('cmake/template_src.txt', 'src/CMakeLists.txt', project_name=name)
6363
template('cmake/template_test.txt', 'test/CMakeLists.txt', project_name=name)

0 commit comments

Comments
 (0)