mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2026-03-15 17:13:46 +01:00
Update dependency marked to v11 (#2898)
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
"@types/node": "^20.0.0",
|
||||
"axios": "^1.6.0",
|
||||
"concurrently": "^8.0.0",
|
||||
"marked": "^10.0.0",
|
||||
"marked": "^11.0.0",
|
||||
"tslib": "^2.6.1",
|
||||
"typescript": "^5.0.0"
|
||||
},
|
||||
|
||||
@@ -23,5 +23,5 @@ export function getContent(data: string): string {
|
||||
if (!content) {
|
||||
throw new Error("Can't get the content");
|
||||
}
|
||||
return marked(content);
|
||||
return marked(content) as string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user