ci: workaround -autofree codegen bug with nested fn calls on macos
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