mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
ci: workaround -autofree codegen bug with nested fn calls on macos
This commit is contained in:
parent
8f3646cb81
commit
9315154201
@ -74,7 +74,8 @@ pub fn (mut app App) new_article() vweb.Result {
|
|||||||
['/articles'; get]
|
['/articles'; get]
|
||||||
pub fn (mut app App) articles() vweb.Result {
|
pub fn (mut app App) articles() vweb.Result {
|
||||||
articles := app.find_all_articles()
|
articles := app.find_all_articles()
|
||||||
return app.json(json.encode(articles))
|
json_result := json.encode(articles)
|
||||||
|
return app.json(json_result)
|
||||||
}
|
}
|
||||||
|
|
||||||
fn (mut app App) time() {
|
fn (mut app App) time() {
|
||||||
|
Loading…
Reference in New Issue
Block a user