summaryrefslogtreecommitdiffstats
path: root/tpl/os
diff options
context:
space:
mode:
authorsatotake <doublequotation@gmail.com>2018-08-05 14:29:07 +0900
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2018-08-06 09:54:26 +0200
commitc362634b7d8802ea81b0b4341c800a9f78f7cd7c (patch)
treef6de66de79fd48a9cf6eb10794fd8860fcdbe2ff /tpl/os
parentd71120852a8e14d0ea4d24de269fce041ef7b666 (diff)
Fix typo
Diffstat (limited to 'tpl/os')
-rw-r--r--tpl/os/init.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tpl/os/init.go b/tpl/os/init.go
index 08a36fe7b..b11e742eb 100644
--- a/tpl/os/init.go
+++ b/tpl/os/init.go
@@ -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`},
},
)