Skip to content

Commit f48f5d3

Browse files
committed
fix package license
1 parent 7bb381c commit f48f5d3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/somesy/package_json/models.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ class PackageRepository(BaseModel):
2828
class PackageLicense(BaseModel):
2929
"""Package license model."""
3030

31-
type: Annotated[Optional[str], Field(description="License type")]
32-
url: Annotated[str, Field(description="License url")] = None
31+
type: Annotated[Optional[str], Field(description="License type")] = None
32+
url: Annotated[str, Field(description="License url")]
3333

3434

3535
NPM_PKG_AUTHOR = r"^(.*?)\s*(?:<([^>]+)>)?\s*(?:\(([^)]+)\))?$"

0 commit comments

Comments
 (0)