Skip to content

Commit 1194b0b

Browse files
committed
commandFragments is optional
Signed-off-by: Cristian Le <[email protected]>
1 parent 56fbb2f commit 1194b0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scikit_build_core/file_api/model/codemodel.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ class Sysroot:
9494
@dataclasses.dataclass(frozen=True)
9595
class Link:
9696
language: str
97-
commandFragments: List[CommandFragment]
97+
commandFragments: List[CommandFragment] = dataclasses.field(default_factory=list)
9898
lto: Optional[bool] = None
9999
sysroot: Optional[Sysroot] = None
100100

0 commit comments

Comments
 (0)