Skip to content

Commit 6aec8ae

Browse files
authored
Fix None Toolchain (#63)
1 parent 45b6e21 commit 6aec8ae

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

cppython/schema.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,10 @@ def validate_path(cls, value): # pylint: disable=E0213
4646
"""
4747
TODO
4848
"""
49-
return Path(value).as_posix()
49+
if value is not None:
50+
return Path(value).as_posix()
51+
52+
return None
5053

5154

5255
class BuildPreset(Preset):

0 commit comments

Comments
 (0)