mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-27 04:08:53 +01:00
Replace panic with log.Fatal
This commit is contained in:
parent
83d129e674
commit
a5b4b605dd
@ -83,7 +83,7 @@ func main() {
|
|||||||
name := filepath.Base(templatePath)
|
name := filepath.Base(templatePath)
|
||||||
t, err := template.New(name).Funcs(funcs).ParseFiles(templatePath)
|
t, err := template.New(name).Funcs(funcs).ParseFiles(templatePath)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic(err)
|
log.Fatal(err)
|
||||||
}
|
}
|
||||||
examples := []example{
|
examples := []example{
|
||||||
{Name: "hue"},
|
{Name: "hue"},
|
||||||
|
Loading…
Reference in New Issue
Block a user