Fix typo
authorsatotake <doublequotation@gmail.com>
Sun, 5 Aug 2018 05:29:07 +0000 (14:29 +0900)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Mon, 6 Aug 2018 07:54:26 +0000 (09:54 +0200)
tpl/os/init.go

index 08a36fe7b6fe1919dfe34dee4dbd66dc71bad8b3..b11e742eb55145ba36ce7f4925d06c91fb42fe59 100644 (file)
@@ -58,7 +58,7 @@ func init() {
                ns.AddMethodMapping(ctx.FileStat,
                        []string{"fileStat"},
                        [][2]string{
-                               {`{{ (fileExists "files/README.txt").Size }}`, `11`},
+                               {`{{ (fileStat "files/README.txt").Size }}`, `11`},
                        },
                )