summaryrefslogtreecommitdiffstats
path: root/tpl/os/init.go
diff options
context:
space:
mode:
Diffstat (limited to 'tpl/os/init.go')
-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`},
},
)